Share via


SetByForgetSet method of the MSFT_DtcTransactionTask class

Indicates whether to forget the transaction.

Syntax

uint32 SetByForgetSet(
  [in] string  DtcName,
  [in] string  TransactionId,
  [in] boolean Forget
);

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.

Forget [in]

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