AdomdConnection.IDbConnection.BeginTransaction 方法 (IsolationLevel)

Begins a database transaction with the specified isolation level value.

命名空间:  Microsoft.AnalysisServices.AdomdClient
程序集:  Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)

语法

声明
Private Function BeginTransaction ( _
    isolationLevel As IsolationLevel _
) As IDbTransaction Implements IDbConnection.BeginTransaction
用法
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 支持使用显式接口实现,但不支持声明新显式接口实现。

参数

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

返回值

类型:System.Data.IDbTransaction
An object representing the new transaction.

实现

IDbConnection.BeginTransaction(IsolationLevel)

请参阅

参考

AdomdConnection 类

BeginTransaction 重载

Microsoft.AnalysisServices.AdomdClient 命名空间