Condividi tramite


Receive-DtcDiagnosticTransaction

Receive-DtcDiagnosticTransaction

Propagates a transaction from a given diagnostic Resource Manager.

Sintassi

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

Descrizione dettagliata

The Receive-DtcDiagnosticTransaction cmdlet propagates a transaction from a specified diagnostic Resource Manager (RM). A transaction is created on the specified RM and propagated to the Windows PowerShell® client using either pull or push propagation. Use the PropagationMethod parameter to specify the propagation mechanism.

Parametri

-ComputerName<String>

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

Alias

none

Obbligatorio?

false

Posizione?

1

Valore predefinito

none

Accetta input da pipeline?

True (ByValue)

Accetta caratteri jolly?

false

-InformationAction<System.Management.Automation.ActionPreference>

Alias

infa

Obbligatorio?

false

Posizione?

named

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-InformationVariable<System.String>

Alias

iv

Obbligatorio?

false

Posizione?

named

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-Port<Int32>

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

Alias

none

Obbligatorio?

false

Posizione?

2

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-PropagationMethod<DtcTransactionPropagation>

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

Alias

none

Obbligatorio?

false

Posizione?

3

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

<CommonParameters>

Questo cmdlet supporta i parametri comuni: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Per altre informazioni, vedere   about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Input

Il tipo di input è il tipo degli oggetti che è possibile reindirizzare al cmdlet.

Output

Il tipo di output corrisponde al tipo di oggetti generati dal cmdlet.

Esempi

Example 1: Receive a diagnostic transaction

This command pulls a diagnostic transaction from Host1 port 17123.

PS C:\> Receive-DtcDiagnosticTransaction –ComputerName "Host1" –Port 17123 –PropagationMethod Pull

Argomenti correlati

Complete-DtcDiagnosticTransaction

New-DtcDiagnosticTransaction

Send-DtcDiagnosticTransaction

Undo-DtcDiagnosticTransaction