Share via


AdomdConnection.IDbConnection.BeginTransaction Method (IsolationLevel)

Begins a database transaction with the specified isolation level value.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Private Function BeginTransaction ( _
    isolationLevel As IsolationLevel _
) As IDbTransaction Implements IDbConnection.BeginTransaction
'Usage
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 supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

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

Return Value

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

Implements

IDbConnection.BeginTransaction(IsolationLevel)

See Also

Reference

AdomdConnection Class

BeginTransaction Overload

Microsoft.AnalysisServices.AdomdClient Namespace