Share via


Set method of the MSFT_DtcLogTask class

Modifies DTC log file settings for a DTC instance.

Syntax

uint32 Set(
  [in] string DtcName,
  [in] string Path,
  [in] uint32 SizeInMB,
  [in] uint32 MaxSizeInMB
);

Parameters

DtcName [in]

The name of the DTC instance.

Path [in]

The path to the log file.

SizeInMB [in]

The initial size of the log file, in megabytes.

MaxSizeInMB [in]

The maximum file size of the new log file, in megabytes.

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_DtcLogTask