TransactionRollback

ACCPAC Common Controls

AccpacDBLink.TransactionRollback

Rolls back the current transaction on the database connection.

Function TransactionRollback(pTransLevel As Long) As Long

Parameters

pTransLevel

[out] returns the transaction level after the current transaction is rolled back

Return Value

Returns a status code from the database layer. If the operation was successful, the function returns 0. If the function failed, it returns an error code as defined in DBS.H.