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

 

getStringProperty function

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

  • 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.

Remarks

Gets the value of the qa_string property with the specified name.

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

See Also

MessageProperties class

Returns

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