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

SQL Anywhere 11.0.1 (中文) » UltraLite - C 及 C++ 编程 » API 参考 » UltraLite C++ API 参考 » UltraLite_TableSchema_iface 类

 

GetIndexName 函数

在已知索引的从 1 开始的 ID 的情况下获取索引名称。

语法
ULValue UltraLite_TableSchema_iface::GetIndexName(
  ul_index_num index_id
)
参数
  • index_id   从 1 开始的序号。

返回值

如果索引不存在,则返回的ULValue 类对象为空。

注释

索引 ID 和索引计数在模式升级过程中可能发生变化。为了正确地标识索引,请按名称访问它,或者在模式升级后刷新任何高速缓存的 ID 和计数。