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} ] [-InformationAction <System.Management.Automation.ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.String> ] [ <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

-InformationAction<System.Management.Automation.ActionPreference>

별칭

infa

필수 여부

false

위치

named

기본값

none

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-InformationVariable<System.String>

별칭

iv

필수 여부

false

위치

named

기본값

none

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

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을 지원합니다. 자세한 내용은 다음을 참조하세요. 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