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

SQL Anywhere 11.0.1 (中文) » MobiLink - 服务器管理 » MobiLink 服务器 API » 使用 Java 语言编写同步脚本 » 用于 Java 的 MobiLink 服务器 API 参考 » ServerContext 接口

 

getPropertySetNames 方法

语法
public Iterator getPropertySetNames(
   java.lang.String component_name )
注释

返回给定组件的属性集名称列表。这些属性存储在 MobiLink 系统表 ml_property 中。

参数
  • component_name   要列出其属性名称的组件的名称。

返回值

给定组件的属性集名称列表。

另请参见
示例

以下代码列出了所有与给定组件相关联的 ServerContext 的属性。

import java.util.*;
// ServerContext serverContext;
// PrintStream out
Properties prop = serverContext.getPropertySetNames("Component Name");
prop.list(out);