Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Undo-DtcDiagnosticTransaction

Undo-DtcDiagnosticTransaction

microsoft.dtc.powershell.dll

Synopsis

Invokes the Abort process on the specified transaction.

Syntax

Undo-DtcDiagnosticTransaction [-Transaction] [<CommonParameters>]

Detailed Description

The Undo-DtcDiagnosticTransaction cmdlet invokes the Abort process on the specified transaction.

Parameters

-Transaction <DtcDiagnosticTransaction>

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.

Aliases

None

Required?

true

Position

1

Default value

Accept pipeline input?

True (ByValue)

Accept wildcard characters?

false

Input Type


Return Type


Notes

None

Examples

Example 1: Undo a DTC diagnostic transaction

This command creates a new diagnostic transaction and assigns it to a variable.

The second command undoes the transaction.

PS C:\>$Tx = New-DtcDiagnosticTransaction
PS C:\> Undo-DtcDiagnosticTransaction –Transaction $Tx 


Online Version
Complete-DtcDiagnosticTransaction
New-DtcDiagnosticTransaction
Receive-DtcDiagnosticTransaction
Send-DtcDiagnosticTransaction