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 » QAManager class


open function

qa_bool QAManager::open(
  qa_short mode
  • mode   The acknowledgement mode.


Opens the QAManager with the given AcknowledgementMode value.

The open function must be the first method called after creating a QAManager.

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 Also

AcknowledgementMode class

close function


True when the operation succeeds; otherwise false.