Send-DtcDiagnosticTransaction

Send-DtcDiagnosticTransaction

Propagates a transaction to a specified diagnostic Resource Manager.

구문

Parameter Set: Default
Send-DtcDiagnosticTransaction [-Transaction] <DtcDiagnosticTransaction> [[-ComputerName] <String> ] [[-Port] <Int32> ] [[-PropagationMethod] <DtcTransactionPropagation> {Pull | Push} ] [ <CommonParameters>]

자세한 설명

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

매개 변수

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

별칭

none

필수 여부

false

위치

2

기본값

none

파이프라인 입력 허용 여부

True (ByValue)

와일드카드 문자 허용 여부

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.

별칭

none

필수 여부

false

위치

3

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-PropagationMethod<DtcTransactionPropagation>

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

별칭

none

필수 여부

false

위치

4

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

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.

별칭

none

필수 여부

true

위치

1

기본값

none

파이프라인 입력 허용 여부

True (ByValue)

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable 등의 일반 매개 변수를 지원합니다. 자세한 내용은 TechNet의 about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216)

입력

입력 형식은 cmdlet으로 파이프할 수 있는 개체의 형식입니다.

출력

출력 형식은 cmdlet 실행 시 출력되는 개체의 형식입니다.

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

관련 항목

Complete-DtcDiagnosticTransaction

New-DtcDiagnosticTransaction

Receive-DtcDiagnosticTransaction

Undo-DtcDiagnosticTransaction