Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Send-DtcDiagnosticTransaction

Send-DtcDiagnosticTransaction

microsoft.dtc.powershell.dll

Synopsis

Propagates a transaction to a specified diagnostic Resource Manager.

Syntax

Send-DtcDiagnosticTransaction [-Transaction] [-ComputerName] [-Port] [-PropagationMethod] [<CommonParameters>]

Detailed 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.

Aliases

None

Required?

false

Position

2

Default value

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.

Aliases

None

Required?

false

Position

3

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-PropagationMethod <DtcTransactionPropagation>

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

Aliases

None

Required?

false

Position

4

Default value

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.

Aliases

None

Required?

true

Position

1

Default value

Accept pipeline input?

True (ByValue)

Accept wildcard characters?

false

Input Type


Return Type


Notes

None

Examples

Example 1: Send a DTC diagnostic transaction

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.

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

Online Version
Complete-DtcDiagnosticTransaction
New-DtcDiagnosticTransaction
Receive-DtcDiagnosticTransaction
Undo-DtcDiagnosticTransaction