Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Undo-DtcDiagnosticTransaction

Brian Lich|Last Updated: 3/8/2017

SYNOPSIS

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
Parameter Sets: (All)
Aliases: 

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Complete-DtcDiagnosticTransaction

New-DtcDiagnosticTransaction

Receive-DtcDiagnosticTransaction

Send-DtcDiagnosticTransaction

© 2017 Microsoft