Share via


Get method of the MSFT_DtcTransactionTask class

Retrieves information about the transactions for a DTC instance.

Syntax

uint32 Get(
  [in]  string             DtcName,
  [out] DtcTransactionInfo cmdletOutput[]
);

Parameters

DtcName [in]

The name of the DTC instance. If you do not specify this parameter, or if you specify a value of "Local", this method gets the information for transactions handled by the local DTC instance.

cmdletOutput [out]

An array of DtcTransactionInfo embedded instances representing the specified transaction information.

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
Header
Wbemcli.h
MOF
Msdtcwmi.mof
DLL
MsDtcWmi.dll

See also

MSFT_DtcTransactionTask