Méthode AdomdConnection.IDbConnection.BeginTransaction (IsolationLevel)
Begins a database transaction with the specified isolation level value.
Espace de noms : Microsoft.AnalysisServices.AdomdClient
Assembly : Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)
Syntaxe
'Déclaration
Private Function BeginTransaction ( _
isolationLevel As IsolationLevel _
) As IDbTransaction Implements IDbConnection.BeginTransaction
'Utilisation
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 prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.
Paramètres
- isolationLevel
Type : System.Data.IsolationLevel
One of the enumeration values that specifies the transaction locking behavior for the connection.
Valeur de retour
Type : System.Data.IDbTransaction
An object representing the new transaction.
Implémente
IDbConnection.BeginTransaction(IsolationLevel)