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>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
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