New-DtcDiagnosticTransaction
New-DtcDiagnosticTransaction
Creates a new transaction in a Transaction Manager on the local computer.
구문
Parameter Set: Default
New-DtcDiagnosticTransaction [[-Timeout] <Int32> ] [[-IsolationLevel] <IsolationLevel> {Serializable | RepeatableRead | ReadCommitted | ReadUncommitted | Snapshot | Chaos | Unspecified} ] [-InformationAction <System.Management.Automation.ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.String> ] [ <CommonParameters>]
자세한 설명
The New-DtcDiagnosticTransaction cmdlet creates a new transaction in a Transaction Manager (TM) on the local computer. By default it creates a transaction on the default transaction manager on the local computer. This cmdlet returns a transaction object that you can pass to other cmdlets.
매개 변수
-InformationAction<System.Management.Automation.ActionPreference>
별칭 |
infa |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-InformationVariable<System.String>
별칭 |
iv |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-IsolationLevel<IsolationLevel>
Specifies the isolation level for a transaction.이 매개 변수에 허용되는 값은 다음과 같습니다.
-- Serializable
-- RepeatableRead
-- ReadCommitted
-- ReadUncommitted
-- Snapshot
-- Chaos
If you do not specify this parameter, the cmdlet uses the default IsolationLevel value specified in the System.Transactions.Transaction object.
별칭 |
none |
필수 여부 |
false |
위치 |
2 |
기본값 |
none |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Timeout<Int32>
Specifies the timeout, in seconds, for the transaction. If you do not specify this parameter, the cmdlet uses the default timeout value specified in the System.Transactions.Transaction object.
별칭 |
none |
필수 여부 |
false |
위치 |
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: Create a diagnostic transaction
This command creates a new serializable diagnostic transaction with a timeout of 60 seconds.
PS C:\> New-DtcDiagnosticTransaction –Timeout 60 –IsolationLevel Serializable
관련 항목
Complete-DtcDiagnosticTransaction