Undo-DtcDiagnosticTransaction

Undo-DtcDiagnosticTransaction

Invokes the Abort process on the specified transaction.

Syntax

Parameter Set: Default
Undo-DtcDiagnosticTransaction [-Transaction] <DtcDiagnosticTransaction> [-InformationAction <System.Management.Automation.ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.String> ] [ <CommonParameters>]

Detaillierte Beschreibung

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

Parameter

-InformationAction<System.Management.Automation.ActionPreference>

Aliasse

infa

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-InformationVariable<System.String>

Aliasse

iv

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-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.

Aliasse

none

Erforderlich?

true

Position?

1

Standardwert

none

Pipelineeingaben akzeptieren?

True (ByValue)

Platzhalterzeichen akzeptieren?

false

<CommonParameters>

Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Eingaben

Der Eingabetyp ist der Typ der Objekte, die über die Pipeline an das Cmdlet übergeben werden können.

Ausgaben

Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.

Beispiele

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 

Verwandte Themen

Complete-DtcDiagnosticTransaction

New-DtcDiagnosticTransaction

Receive-DtcDiagnosticTransaction

Send-DtcDiagnosticTransaction