Undo-DtcDiagnosticTransaction
Invokes the Abort process on the specified transaction.
Syntax
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.
Type: | DtcDiagnosticTransaction |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for