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


getMessageID function

qa_const_string QAMessage::getMessageID()

Gets the message ID.

The MessageID header field contains a value that uniquely identifies each message sent by the QAnywhere client.

When a message is sent using QAManagerBaseputMessage method, the MessageID header is null and can be ignored. When the send method returns, it contains an assigned value.

A MessageID is a qa_string value that should function as a unique key for identifying messages in a historical repository.

For more information about getting and setting message headers and properties, see Introduction to QAnywhere messages.


The message ID.