MvComponentCommitC2STransaction Method |
Namespace: RW.Server.Component
public virtual int CommitC2STransaction( C2STransactionStatus status = C2STransactionStatus.Default )
The transaction must have been previously initialized by the BeginC2STransaction function.
At the server level, a transaction is opened (see the C++ class IlsTransaction"). All queries sent by the component are handled within this server transaction. If they are all successful, the transaction is committed by the server, thus triggering a notification cycle.
In acknowledgement mode, an acknowledgement transaction is sent to the component before any notification transaction. If a query fails, the server transaction is rolled back and a rollback transaction is triggered by the server on the component.