|
|
MvComponentCommitC2STransaction Method |
Namespace: RW.Server.Component
Assembly: RW.Server.Component (in RW.Server.Component.dll) Version: 7.0.0.0 (7.0.0.0)
public virtual int CommitC2STransaction( C2STransactionStatus status = C2STransactionStatus.Default )
Parameters
- status (Optional)
- Type: RW.Server.ComponentC2STransactionStatus
Specifies how the transaction will be executed in the server.
Return Value
Type: Int32The transaction identifier or 0 if no component-to-server transaction is currently opened.
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.