dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlConnection Class / BeginTransaction Method / BeginTransaction(IsolationLevel,String) Method
The isolation level under which the transaction should run.
The name of the transaction.

BeginTransaction(IsolationLevel,String) Method
Starts a database transaction with the specified isolation level and transaction name.
Syntax
'Declaration
 
Public Overloads Function BeginTransaction( _
   ByVal il As IsolationLevel, _
   ByVal transactionName As String _
) As SqlTransaction
 

Parameters

il
The isolation level under which the transaction should run.
transactionName
The name of the transaction.

Return Value

An object representing the new transaction.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also