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 参考 » QAManagerBase 类

 

getStringStoreProperty 函数

语法
qa_int QAManagerBase::getStringStoreProperty(
  qa_const_string name,
  qa_string address,
  qa_int maxlen
)
参数
  • name   预定义或自定义属性名称。

  • address   qa_string 值的目标。

  • maxlen   要复制值的 qa_char 的最大数量,包括空终止符。

注释

获取预定义或自定义消息存储库属性的字符串值。

可以使用此方法访问预定义或用户定义的客户端存储库属性。

有关预定义属性的列表,请参见MessageStoreProperties 类

有关详细信息,请参见客户端消息存储库属性

返回值

返回实际复制的非空 qa_char 的数量;如果操作失败,则返回 -1。