Método AdomdConnection.IDbConnection.BeginTransaction (IsolationLevel)
Begins a database transaction with the specified isolation level value.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)
Sintaxe
'Declaração
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 dá suporte ao uso de implementações de interfaces explícitas, mas não a declarações de implementações novas.
Parâmetros
- isolationLevel
Tipo: System.Data.IsolationLevel
One of the enumeration values that specifies the transaction locking behavior for the connection.
Valor de retorno
Tipo: System.Data.IDbTransaction
An object representing the new transaction.
Implementa
IDbConnection.BeginTransaction(IsolationLevel)