Function CSPTxContext::Abort()
Description:
Aborts the transaction as a whole, causing any taken action bound to it to be rollbacked.
 |
Prototype:
void Abort();
Arguments:
No arguments (void).
Return value:
No return value (void).
Examples:
CSPTxContext Tx; CSPODBCConnection Conn( Tx ); CSPODBCRecordset Set( Conn ); ... ... Tx.Abort(); // All the UPDATE, SELECT, and INSERT statements will be committed.
See also:
member function Commit()
|
|