共用方式為


BeginTransaction 方法 (IsolationLevel)

此 API 支援 基礎結構,但無法直接從您的程式碼使用。

命名空間:  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)