SetByNetworkSettings method of the MSFT_DtcNetworkSettingTask class
Modifies DTC network and security configuration settings.
Syntax
uint32 SetByNetworkSettings(
[in] string DtcName,
[in] boolean InboundTransactionsEnabled,
[in] boolean OutboundTransactionsEnabled,
[in] boolean RemoteClientAccessEnabled,
[in] boolean RemoteAdministrationAccessEnabled,
[in] boolean XATransactionsEnabled,
[in] boolean LUTransactionsEnabled,
[in] string AuthenticationLevel
);
Parameters
-
DtcName [in]
-
The name of the DTC instance. If you do not specify this parameter, or if you specify a value of "Local", this method modifies the local DTC instance.
-
InboundTransactionsEnabled [in]
-
true if to enable inbound transactions to the DTC instance; otherwise, false.
-
OutboundTransactionsEnabled [in]
-
true if to enable outbound transactions from the DTC instance; otherwise, false.
-
RemoteClientAccessEnabled [in]
-
true if to enable remote client access for the DTC instance; otherwise, false.
-
RemoteAdministrationAccessEnabled [in]
-
true if to enable remote administration access for the DTC instance; otherwise, false.
-
XATransactionsEnabled [in]
-
true if to enable XA transactions in the DTC instance; otherwise, false.
-
LUTransactionsEnabled [in]
-
true if to enable LU transactions in the DTC instance; otherwise, false.
-
AuthenticationLevel [in]
-
The network authentication level of the DTC instance.
The possible values are:
NoAuth
Incoming
Mutual
Return value
Returns "0" on success, otherwise returns a WMI error code.
Requirements
Minimum supported client |
Windows 8 |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\MsDTC |
MOF |
|
DLL |
|