Share via


Get method of the MSFT_DtcTask class

Retrieves a DTC instance.

Syntax

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

Parameters

DtcName [in]

Specifies the DTC instance to retrieve on the host. If you do not specify this parameter, or if you specify a value of "Local", this method gets the local DTC instance for the host.

cmdletOutput [out]

An array of DtcInstance embedded instances.

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_DtcTask