Partager via


CommitTransaction Element (XMLA)

Commits a transaction on the current session with a Microsoft SQL Server 2005 Analysis Services (SSAS) instance.

Syntaxe

<Command>
   <CommitTransaction />
</Command>

Element Characteristics

Characteristic Description

Data type and length

None

Default value

None

Cardinality

0-n: Optional element that can occur more than once.

Element Relationships

Relationship Element

Parent elements

Command

Child elements

None

Notes

The CommitTransaction command commits an active transaction, explicitly defined using the BeginTransaction element, on the current session. If an active transaction does not already exist, an error occurs. If an active transaction already exists, the Analysis Services instance decrements the reference count of transactions for the current session. If the reference count of explicitly defined active transactions reaches zero, the Analysis Services instance commits the transaction.

Voir aussi

Référence

BeginTransaction Element (XMLA)
Cancel Element (XMLA)
RollbackTransaction Element (XMLA)

Concepts

Commands (XMLA)

Aide et Informations

Assistance sur SQL Server 2005