Undo-DtcDiagnosticTransaction
Undo-DtcDiagnosticTransaction
Invokes the Abort process on the specified transaction.
Syntaxe
Parameter Set: Default
Undo-DtcDiagnosticTransaction [-Transaction] <DtcDiagnosticTransaction> [-InformationAction <System.Management.Automation.ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.String> ] [ <CommonParameters>]
Description détaillée
The Undo-DtcDiagnosticTransaction cmdlet invokes the Abort process on the specified transaction.
Paramètres
-InformationAction<System.Management.Automation.ActionPreference>
Alias |
infa |
Obligatoire ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-InformationVariable<System.String>
Alias |
iv |
Obligatoire ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
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.
Alias |
none |
Obligatoire ? |
true |
Position ? |
1 |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
True (ByValue) |
Accepter les caractères génériques ? |
false |
<CommonParameters>
Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entrées
Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.
Sorties
Le type de sortie est le type des objets émis par l’applet de commande.
Exemples
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
Rubriques connexes
Complete-DtcDiagnosticTransaction