Set-DtcTransactionsTraceSetting

Set-DtcTransactionsTraceSetting

Set-DtcTransactionsTraceSetting can be used to modify the DTC transactions trace setting of the host.

Syntax

Parameter Set: TraceAllParameterSet
Set-DtcTransactionsTraceSetting -All <Boolean> [ <CommonParameters>]

Parameter Set: TraceSelectedParameterSet
Set-DtcTransactionsTraceSetting [-Aborted <Boolean> ] [-LongLived <Boolean> ] [ <CommonParameters>]

Detailed Description

Set-DtcTransactionsTraceSetting can be used to modify the DTC transactions trace setting of the host.

Parameters

-Aborted<Boolean>

Enables tracing of Aborted transactions by the DTC host.

Aliases

none

Required?

false

Position?

named

Default Value

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-All<Boolean>

Enables the tracing of all transactions by the DTC host.

Aliases

none

Required?

true

Position?

named

Default Value

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-LongLived<Boolean>

Enables the tracing of Long Lived transactions by the DTC host.

Aliases

none

Required?

false

Position?

named

Default Value

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters

Examples

Basic example of how to use Set-DtcTransactionsTraceSetting.

Set all transactions trace settings.

PS C:\> Set-DtcTransactionsTraceSetting -AllTransactionsTracingEnabled $true