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.

In This Topic
    BeginTransaction(IsolationLevel,String) Method
    In This Topic
    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
    public SqlTransaction BeginTransaction( 
       IsolationLevel il,
       string transactionName
    )

    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