Jaa


AdomdConnection.BeginTransaction Method ()

Begins a new transaction.

Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Syntax

'Declaration
Public Function BeginTransaction As AdomdTransaction
public AdomdTransaction BeginTransaction ()
public:
AdomdTransaction^ BeginTransaction ()
public AdomdTransaction BeginTransaction ()
public function BeginTransaction () : AdomdTransaction

Return Value

An AdomdTransaction that represents the newly started transaction.

Remarks

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.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

AdomdConnection Class
AdomdConnection Members
Microsoft.AnalysisServices.AdomdClient Namespace