Поделиться через


Метод BeginTransaction

Begins a new transaction.

Пространство имен:  Microsoft.AnalysisServices.AdomdClient
Сборка:  Microsoft.AnalysisServices.AdomdClient (в Microsoft.AnalysisServices.AdomdClient.dll)

Синтаксис

'Декларация
Public Function BeginTransaction As AdomdTransaction
'Применение
Dim instance As AdomdConnection
Dim returnValue As AdomdTransaction

returnValue = instance.BeginTransaction()
public AdomdTransaction BeginTransaction()
public:
AdomdTransaction^ BeginTransaction()
member BeginTransaction : unit -> AdomdTransaction 
public function BeginTransaction() : AdomdTransaction

Возвращаемое значение

Тип: Microsoft.AnalysisServices.AdomdClient. . :: . .AdomdTransaction
An AdomdTransaction that represents the newly started transaction.

Замечания

Once the transaction has completed, you must explicitly commit the transaction by using the Commit method or roll back the transaction by using the Rollback method of the AdomdTransaction.