BusinessLogicConnection.BeginTransaction Method (IsolationLevel)
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Starts a database transaction with the specified isolation level.
Namespace: Microsoft.SqlServer.Replication.BusinessLogicSupport
Assembly: Microsoft.SqlServer.Replication.BusinessLogicSupport (in Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)
Syntax
'Declaration
Public Function BeginTransaction ( _
level As IsolationLevel _
) As IDbTransaction
'Usage
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
Parameters
- level
Type: System.Data.IsolationLevel
The isolation level for the transaction.
Return Value
Type: System.Data.IDbTransaction
An object representing the new transaction.
Implements
IDbConnection.BeginTransaction(IsolationLevel)
See Also
Reference
Microsoft.SqlServer.Replication.BusinessLogicSupport Namespace