BeginTransaction 方法 (IsolationLevel)

此 API 支持 SQL Server 2008 基础结构,但不能通过代码直接使用。

命名空间:  Microsoft.SqlServer.Replication.BusinessLogicSupport
程序集:  Microsoft.SqlServer.Replication.BusinessLogicSupport(在 Microsoft.SqlServer.Replication.BusinessLogicSupport.dll 中)

语法

声明
Public Function BeginTransaction ( _
    level As IsolationLevel _
) As IDbTransaction
用法
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

参数

实现

IDbConnection. . :: . .BeginTransaction(IsolationLevel)