次の方法で共有


SetByDisableNetwork method of the MSFT_DtcNetworkSettingTask class

Modifies network access for a DTC instance.

Syntax

uint32 SetByDisableNetwork(
  [in] string  DtcName,
  [in] boolean DisableNetworkAccess
);

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.

DisableNetworkAccess [in]

true to disable network access for the DTC instance; otherwise, false.

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
Msdtcwmi.mof
DLL
MsDtcWmi.dll

See also

MSFT_DtcNetworkSettingTask