Set-DtcTransactionsTraceSetting
Applies To: Windows Server 2012 R2 Preview
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 |
none |
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 |
none |
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 |
none |
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.
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Basic example of how to use Set-DtcTransactionsTraceSetting.
Set all transactions trace settings.
PS C:\> Set-DtcTransactionsTraceSetting -AllTransactionsTracingEnabled $true