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


AdomdConnection.BeginTransaction Method ()

Begins a new transaction.

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

Синтаксис

'Декларация
Public Function BeginTransaction As AdomdTransaction
public AdomdTransaction BeginTransaction ()
public:
AdomdTransaction^ BeginTransaction ()
public AdomdTransaction BeginTransaction ()
public function BeginTransaction () : 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.

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

AdomdConnection Class
AdomdConnection Members
Microsoft.AnalysisServices.AdomdClient Namespace