AdomdConnection.IDbConnection.BeginTransaction Método (IsolationLevel)
Begins a database transaction with the specified isolation level value.
Espacio de nombres: Microsoft.AnalysisServices.AdomdClient
Ensamblado: Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)
Sintaxis
'Declaración
Private Function BeginTransaction ( _
isolationLevel As IsolationLevel _
) As IDbTransaction Implements IDbConnection.BeginTransaction
'Uso
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 admite el uso de implementaciones de interfaces explícitas, pero no la declaración de otras nuevas.
Parámetros
- isolationLevel
Tipo: System.Data.IsolationLevel
One of the enumeration values that specifies the transaction locking behavior for the connection.
Valor devuelto
Tipo: System.Data.IDbTransaction
An object representing the new transaction.
Implementa
IDbConnection.BeginTransaction(IsolationLevel)