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

SQL Anywhere 11.0.1 (Français) » QAnywhere » QAnywhere Reference » QAnywhere C++ API reference » QAManagerBase class


close function

qa_bool QAManagerBase::close()

Closes the connection to the QAnywhere message system and releases any resources used by the QAManagerBase.

Subsequent calls to close are ignored. When an instance of QAManagerBase is closed, it cannot be re-opened; you must create and open a new QAManagerBase instance in this case.

If a database connection error is detected, you can re-open a QAManager by calling the close function followed by the open function. When re-opening a QAManager, you do not need to re-create it, reset the properties, or reset the message listeners. The properties of the QAManager cannot be changed after the first open, and subsequent open calls must supply the same acknowledgement mode. See open function.

See Also

open function


True if and only if the operation succeeded.