Share via


SetByTraceSet method of the MSFT_DtcTransactionTask class

Indicates whether to trace the transaction.

Syntax

uint32 SetByTraceSet(
  [in] string  DtcName,
  [in] string  TransactionId,
  [in] boolean Trace
);

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.

Trace [in]

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