次の方法で共有


Stop method of the MSFT_DtcTask class

Stops a DTC instance.

Syntax

uint32 Stop(
  [in] string  DtcName,
  [in] boolean Recursive
);

Parameters

DtcName [in]

Specifies the DTC instance to stop. If you do not specify this parameter, or if you specify a value of Local, this method stops the local DTC instance.

Recursive [in]

true to stop any services that rely on the specified 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_DtcTask