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


getStringProperty function

qa_int QAMessage::getStringProperty(
  qa_const_string name,
  qa_int offset,
  qa_string dest,
  qa_int maxlen
  • name   The name of the property to get.

  • offset   The starting offset into the property value from which to copy.

  • dest   The destination for the qa_string value.

  • maxlen   The maximum number of qa_chars of the value to copy. This value includes the null terminator qa_char.


Gets the value of the qa_string property (starting at offset) with the specified name.

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

See Also

MessageProperties class


The number of non-null qa_chars actually copied, or -1 if the operation failed.