PowerShell Logo Small

Complete-DtcDiagnosticTransaction



This is the built-in help made by Microsoft for the command 'Complete-DtcDiagnosticTransaction', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Invokes the Commit process if the specified transaction is the root transaction; otherwise, invokes the Complete method on a transaction object.

SYNTAX


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



Search powershellhelp.space

DESCRIPTION


The Complete-DtcDiagnosticTransaction cmdlet invokes the Commit process if the specified transaction is the root transaction; otherwise, it invokes the Complete method on
the transaction object specified by the DtcDiagnosticTransaction object.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=317152
New-DtcDiagnosticTransaction
Receive-DtcDiagnosticTransaction
Send-DtcDiagnosticTransaction
Undo-DtcDiagnosticTransaction

REMARKS

<

Examples


Example 1: Complete a DTC diagnostic transaction

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



The first command creates a new DTC diagnostic transaction and assigns it to a variable.

The second command invokes the Commit process of the transaction.