Partager via


Get method of the MSFT_DtcAdvancedHostSettingTask class

Retrieves a DTC host level property from the registry.

Syntax

uint32 Get(
  [in]  string Name,
  [in]  string Subkey,
  [out] string cmdletOutput
);

Parameters

Name [in]

The name of the property to retrieve.

Subkey [in]

The subkey name of the property to retrieve.

cmdletOutput [out]

The string representation of the retrieved property.

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_DtcAdvancedHostSettingTask