Complete-DtcDiagnosticTransaction
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>]
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.
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.
Parameters
-Transaction
Specifies the DtcDiagnosticTransaction object on which to invoke the Complete method or to commit.
Type: | DtcDiagnosticTransaction |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
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.
Related Links
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示