4. System Classes : DBSessionObject Class : RollbackWork Method
 
Share this page                  
RollbackWork Method
The RollbackWork method issues a rollback in the database session.
This method has the following syntax:
integer = DBSessionObject.RollBackWork()
The RollbackWork method returns ER_OK on success. Otherwise, it returns a non-zero value. Descriptions of system constant values and their numeric equivalents are listed in Error Codes (see Error Codes).
Invoking this method has the same effect as issuing the SQL rollback statement.