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

SQL Anywhere 11.0.0 » QAnywhere » QAnywhere API Reference » QAnywhere C++ API reference » QAManager class

 

open function

Syntax
qa_bool QAManager::open(
  qa_short mode
)
Parameters
  • mode¬†¬† The acknowledgement mode.

Remarks

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

Returns

True when the operation succeeds; otherwise false.