Set method of the MSFT_DtcAdvancedHostSettingTask class

Updates a DTC host level property in the registry.

Syntax

uint32 Set(
  [in] string Name,
  [in] string Subkey,
  [in] string Value,
  [in] string Type
);

Parameters

Name [in]

The name of the property to update.

Subkey [in]

The subkey name of the property to update.

Value [in]

The new property value to use for the update.

Type [in]

The type of new property value.

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_DtcAdvancedHostSettingTask