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

SQL Anywhere 11.0.1 (中文) » QAnywhere » QAnywhere 参考 » QAnywhere C++ API 参考 » QATextMessage 类

 

getText 函数

语法
qa_string QATextMessage::getText()
注释

获取包含此消息数据的字符串。

缺省值为空。

如果消息超出 MAX_IN_MEMORY_MESSAGE_SIZE 属性指定的最大大小,则此函数返回空值。在这种情况下,使用 readText 方法读取文本。

有关 QAManager 属性的详细信息,请参见QAnywhere Manager 配置属性

返回值

包含消息数据的字符串。