Metodo AdomdConnection.IDbConnection.BeginTransaction (IsolationLevel)

Begins a database transaction with the specified isolation level value.

Spazio dei nomi  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Sintassi

'Dichiarazione
Private Function BeginTransaction ( _
    isolationLevel As IsolationLevel _
) As IDbTransaction Implements IDbConnection.BeginTransaction
'Utilizzo
Dim instance As AdomdConnection 
Dim isolationLevel As IsolationLevel 
Dim returnValue As IDbTransaction 

returnValue = CType(instance, IDbConnection).BeginTransaction(isolationLevel)
IDbTransaction IDbConnection.BeginTransaction(
    IsolationLevel isolationLevel
)
private:
virtual IDbTransaction^ BeginTransaction(
    IsolationLevel isolationLevel
) sealed = IDbConnection::BeginTransaction
private abstract BeginTransaction : 
        isolationLevel:IsolationLevel -> IDbTransaction  
private override BeginTransaction : 
        isolationLevel:IsolationLevel -> IDbTransaction
JScript supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.

Parametri

  • isolationLevel
    Tipo: System.Data.IsolationLevel
    One of the enumeration values that specifies the transaction locking behavior for the connection.

Valore restituito

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

Implementa

IDbConnection.BeginTransaction(IsolationLevel)

Vedere anche

Riferimento

AdomdConnection Classe

Overload BeginTransaction

Spazio dei nomi Microsoft.AnalysisServices.AdomdClient