New-DtcDiagnosticTransaction

New-DtcDiagnosticTransaction

New-DtcDiagnosticTransaction creates a new transaction in a Transaction Manager (TM) on the specified host. By default it creates a transaction on the default transaction manager on the local computer. This command returns a transaction object that can passed to other cmdlets.

Syntax

Parameter Set: Default
New-DtcDiagnosticTransaction [[-Timeout] <Int32> ] [[-IsolationLevel] <IsolationLevel> ] [ <CommonParameters>]

Detailed Description

New-DtcDiagnosticTransaction creates a new transaction in a Transaction Manager (TM) on the specified host. By default it creates a transaction on the default transaction manager on the local computer. This command returns a transaction object that can passed to other cmdlets.

Parameters

-IsolationLevel<IsolationLevel>

Specifies the isolation level to be used by the transaction. Allowed values are Serializable, RepeatableRead, ReadCommitted, ReadUncommitted, Snapshot and Chaos. If not specified the default IsolationLevel value specified in System.Transactions.Transaction object is used.

Aliases

none

Required?

false

Position?

2

Default Value

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Timeout<Int32>

Specifies the timeout for the transaction in seconds. If not specified the default timeout value specified in System.Transactions.Transaction object is used.

Aliases

none

Required?

false

Position?

1

Default Value

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters