Click or drag to resize
MvComponentCommitC2STransaction Method
Sends to the server the current component-to-server transaction.

Namespace: RW.Server.Component
Assembly: RW.Server.Component (in RW.Server.Component.dll) Version: 6.3.0.0 (0.8.0.0)
Syntax
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: Int32
The transaction identifier or 0 if no component-to-server transaction is currently opened.
Remarks

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.

See Also