Install method of the MSFT_DtcTask class

Installs the local transactions coordinator.

Syntax


uint32 Install(
  [in] string LogPath,
  [in] string StartType
);

Parameters

LogPath [in]

The path of the log file. If not specified, this method uses the default log path.

StartType [in]

The start type for the local transactions coordinator.

The possible values are.

"AutoStart"

"DemandStart"

"Disabled"

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_DtcTask

 

 

Show: