< Back
New-DtcDiagnosticTransaction
Post
NAME New-DtcDiagnosticTransaction
SYNOPSIS
Creates a new transaction in a Transaction Manager on the local computer.
SYNTAX
New-DtcDiagnosticTransaction [[-Timeout] <Int32>] [[-IsolationLevel] {Serializable | RepeatableRead | ReadCommitted | ReadUncommitted | Snapshot |
Chaos | Unspecified}] [<CommonParameters>]
DESCRIPTION
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.
PARAMETERS
-IsolationLevel [<IsolationLevel>]
Specifies the isolation level for a transaction.The acceptable values for this parameter are:
-- 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.
Required? false
Position? 2
Default value none
Accept pipeline input? false
Accept wildcard characters? 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.
Required? false
Position? 1
Default value none
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Example 1: Create a diagnostic transaction
PS C:\\>New-DtcDiagnosticTransaction ????????Timeout 60 ????????IsolationLevel Serializable
Id
--
4625a5a3-af35-465d-a331-f224d79e4c85
This command creates a new serializable diagnostic transaction with a timeout of 60 seconds.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/p/?linkid=317167
Complete-DtcDiagnosticTransaction
Receive-DtcDiagnosticTransaction
Send-DtcDiagnosticTransaction
Undo-DtcDiagnosticTransaction
SYNOPSIS
Creates a new transaction in a Transaction Manager on the local computer.
SYNTAX
New-DtcDiagnosticTransaction [[-Timeout] <Int32>] [[-IsolationLevel] {Serializable | RepeatableRead | ReadCommitted | ReadUncommitted | Snapshot |
Chaos | Unspecified}] [<CommonParameters>]
DESCRIPTION
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.
PARAMETERS
-IsolationLevel [<IsolationLevel>]
Specifies the isolation level for a transaction.The acceptable values for this parameter are:
-- 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.
Required? false
Position? 2
Default value none
Accept pipeline input? false
Accept wildcard characters? 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.
Required? false
Position? 1
Default value none
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Example 1: Create a diagnostic transaction
PS C:\\>New-DtcDiagnosticTransaction ????????Timeout 60 ????????IsolationLevel Serializable
Id
--
4625a5a3-af35-465d-a331-f224d79e4c85
This command creates a new serializable diagnostic transaction with a timeout of 60 seconds.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/p/?linkid=317167
Complete-DtcDiagnosticTransaction
Receive-DtcDiagnosticTransaction
Send-DtcDiagnosticTransaction
Undo-DtcDiagnosticTransaction