|
virtual bool COSession::Rollback(BOID* pboidReason=NULL, BOOL bRetaining = FALSE, BOOL bAsync = FALSE); Return Value true if successful; otherwise false. Parameters [in] pboidReason: A pointer to a BOID data indicating why the transaction is being aborted. If it is NULL, no reason is provided. [in] bRetaining: Indicating if the commit is retaining or not. [in] bAsync: Indicating if an asynchronous rollback will be made. If bAsync is TRUE, a caller must use ITransactionOutcomeEvents to learn the final result of the transaction. Remark Calls this function to rollback a transaction. For how to use it, see the example MkTbls. |