Metodo BusinessLogicConnection.BeginTransaction (IsolationLevel)

Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.

Starts a database transaction with the specified isolation level.

Spazio dei nomi  Microsoft.SqlServer.Replication.BusinessLogicSupport
Assembly:  Microsoft.SqlServer.Replication.BusinessLogicSupport (in Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)

Sintassi

'Dichiarazione
Public Function BeginTransaction ( _
    level As IsolationLevel _
) As IDbTransaction
'Utilizzo
Dim instance As BusinessLogicConnection 
Dim level As IsolationLevel 
Dim returnValue As IDbTransaction 

returnValue = instance.BeginTransaction(level)
public IDbTransaction BeginTransaction(
    IsolationLevel level
)
public:
virtual IDbTransaction^ BeginTransaction(
    IsolationLevel level
) sealed
abstract BeginTransaction : 
        level:IsolationLevel -> IDbTransaction  
override BeginTransaction : 
        level:IsolationLevel -> IDbTransaction
public final function BeginTransaction(
    level : IsolationLevel
) : IDbTransaction

Parametri

Valore restituito

Tipo: System.Data.IDbTransaction
An object representing the new transaction.

Implementa

IDbConnection.BeginTransaction(IsolationLevel)

Vedere anche

Riferimento

BusinessLogicConnection Classe

Overload BeginTransaction

Spazio dei nomi Microsoft.SqlServer.Replication.BusinessLogicSupport