how to end the transaction; it must have one of this values: TRANSACTION_ROLLBACK | TRANSACTION_COMMIT
Description:
Ends the current transaction. This function ends the current transaction (committing or rolling back). This function MUST be called only after a call to StartTransaction.
Return value:
Returns the rollback or commit result (not to be considered important).