< Back

Send-DtcDiagnosticTransaction

Tue Jan 29, 2019 10:25 pm

NAME Send-DtcDiagnosticTransaction



SYNOPSIS

Propagates a transaction to a specified diagnostic Resource Manager.





SYNTAX

Send-DtcDiagnosticTransaction [-Transaction] <DtcDiagnosticTransaction> [[-ComputerName] <String>] [[-Port] <Int32>] [[-PropagationMethod] {Pull |

Push}] [<CommonParameters>]





DESCRIPTION

The Send-DtcDiagnosticTransaction cmdlet propagates a transaction to a specified diagnostic Resource Manager (RM). Use the PropagationMethod

parameter to specify the propagation method.





PARAMETERS

-ComputerName [<String>]

Specifies the host name of the computer on which the RM is running. If you do not specify a host name, the cmdlet uses the name of the local

computer.



Required? false

Position? 2

Default value none

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-Port [<Int32>]

Specifies the listening port of the test RM. If you do not specify a port number, the cmdlet uses the name of the local computer.



Required? false

Position? 3

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-PropagationMethod [<DtcTransactionPropagation>]

Specifies the propagation mechanism, pull or push, to use. The default is pull.



Required? false

Position? 4

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Transaction <DtcDiagnosticTransaction>

Specifies the DtcDiagnosticTransaction object to use in the transaction propagation. You can use the pipeline operator to pass this parameter

value to the cmdlet.



Required? true

Position? 1

Default value none

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS











OUTPUTS











Example 1: Send a DTC diagnostic transaction



PS C:\\>$Tx = New-DtcDiagnosticTransaction

PS C:\\> Send-DtcDiagnosticTransaction ????????Transaction $Tx ????????ComputerName "Host1" ????????PropagationMethod Push



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



The second command sends the diagnostic transaction to an RM running on the computer named Host1.







RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=317171

Complete-DtcDiagnosticTransaction

New-DtcDiagnosticTransaction

Receive-DtcDiagnosticTransaction

Undo-DtcDiagnosticTransaction