NAME
Complete-DtcDiagnosticTransaction
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]
[ ] 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.PARAMETERS
-Transaction
Specifies the DtcDiagnosticTransaction object on which to invoke the Complete method or to commit. Required? true Position? 1 Default value none Accept pipeline input? True (ByValue) Accept wildcard characters? falseThis cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216). INPUTS
Default Specifies the DtcDiagnosticTransaction object on which to invoke the Complete method. You can use the pipeline operator to pass this parameter value to the cmdlet.OUTPUTS
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.RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/p/?linkid=317152New-DtcDiagnosticTransaction
Receive-DtcDiagnosticTransaction
Send-DtcDiagnosticTransaction
Undo-DtcDiagnosticTransaction