次の方法で共有


SetByAbortSet method of the MSFT_DtcTransactionTask class

Indicates whether to abort the transaction.

Syntax

uint32 SetByAbortSet(
  [in] string  DtcName,
  [in] string  TransactionId,
  [in] boolean Abort
);

Parameters

DtcName [in]

The name of the DTC instance. This method modifies the state of a transaction in the DTC host-level properties for this instance.

TransactionId [in]

The ID of the transaction.

Abort [in]

true to abort the transaction; 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_DtcTransactionTask