SetByCommitSet method of the MSFT_DtcTransactionTask class

Indicates whether to commit the transaction.

Syntax

uint32 SetByCommitSet(
  [in] string  DtcName,
  [in] string  TransactionId,
  [in] boolean Commit
);

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.

Commit [in]

true to commit 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