Undo-DtcDiagnosticTransaction
Invokes the Abort process on the specified transaction.
Syntax
Default (Default)
Undo-DtcDiagnosticTransaction
[-Transaction] <DtcDiagnosticTransaction>
[<CommonParameters>]
Description
The Undo-DtcDiagnosticTransaction cmdlet invokes the Abort process on the specified transaction.
Examples
Example 1: Undo a DTC diagnostic transaction
PS C:\> $Tx = New-DtcDiagnosticTransaction
PS C:\> Undo-DtcDiagnosticTransaction -Transaction $Tx
This command creates a new diagnostic transaction and assigns it to a variable.
The second command undoes the transaction.
Parameters
-Transaction
Specifies the DtcDiagnosticTransaction object on which to invoke the Abort process. You can use the pipeline operator to pass this parameter value to the cmdlet.
Parameter properties
Type: | DtcDiagnosticTransaction |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 0 |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.