Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » QAnywhere » QAnywhere 参考 » QAnywhere C++ API 参考 » QATransactionalManager 类

 

commit 函数

语法
qa_bool QATransactionalManager::commit()
注释

提交当前事务并开始新的事务。

此方法提交全部 putMessage() 和 getMessage() 调用。

第一个事务以对 open 方法的调用开始。

另请参见

QATransactionalManager 类

返回值

当且仅当提交操作成功时返回 true。