DbTransactionClear

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

SalBoolean DbTransactionClear( SalSqlHandle hSql )

The DbTransactionClear method clears (rollbacks) a client-controlled transaction.

Parameters

Name Description
SalSqlHandle hSql Handle that identifies the database connection rollback the current transaction for.

Returns

The return value is TRUE if the transaction is successfully cleared, FALSE otherwise.

Comments

Applications do not need to call DbTransactionClear when during the standard save-procedure (this is handled by the framework). However applications must manage the transactions for any database updates that are not a part of standard framework procedures.