次の方法で共有


SetByTraceSelectedParameterSet method of the MSFT_DtcTransactionsTraceSettingTask class

Modifies the DTC transactions trace setting of the host.

Syntax

uint32 SetByTraceSelectedParameterSet(
  [in] boolean AbortedTransactionsTracingEnabled,
  [in] boolean LongLivedTransactionsTracingEnabled
);

Parameters

AbortedTransactionsTracingEnabled [in]

true to enable tracing for aborted transactions; otherwise, false.

LongLivedTransactionsTracingEnabled [in]

true to enable tracing for long-lived transactions; otherwise, false.

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_DtcTransactionsTraceSettingTask