Send-DtcDiagnosticTransaction

Send-DtcDiagnosticTransaction

Propagates a transaction to a specified diagnostic Resource Manager.

Syntax

Parameter Set: Default
Send-DtcDiagnosticTransaction [-Transaction] <DtcDiagnosticTransaction> [[-ComputerName] <String> ] [[-Port] <Int32> ] [[-PropagationMethod] <DtcTransactionPropagation> {Pull | Push} ] [-InformationAction <System.Management.Automation.ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.String> ] [ <CommonParameters>]

Detaillierte Beschreibung

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

Parameter

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

Aliasse

none

Erforderlich?

false

Position?

2

Standardwert

none

Pipelineeingaben akzeptieren?

True (ByValue)

Platzhalterzeichen akzeptieren?

false

-InformationAction<System.Management.Automation.ActionPreference>

Aliasse

infa

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-InformationVariable<System.String>

Aliasse

iv

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

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.

Aliasse

none

Erforderlich?

false

Position?

3

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-PropagationMethod<DtcTransactionPropagation>

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

Aliasse

none

Erforderlich?

false

Position?

4

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

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.

Aliasse

none

Erforderlich?

true

Position?

1

Standardwert

none

Pipelineeingaben akzeptieren?

True (ByValue)

Platzhalterzeichen akzeptieren?

false

<CommonParameters>

Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Eingaben

Der Eingabetyp ist der Typ der Objekte, die über die Pipeline an das Cmdlet übergeben werden können.

Ausgaben

Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.

Beispiele

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

Verwandte Themen

Complete-DtcDiagnosticTransaction

New-DtcDiagnosticTransaction

Receive-DtcDiagnosticTransaction

Undo-DtcDiagnosticTransaction