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

SQL Anywhere 11.0.1 (日本語) » Mobile Link - サーバ管理 » Mobile Link サーバ API » Java による同期スクリプトの作成 » Java 用 Mobile Link サーバ API リファレンス » ServerContext インタフェース

 

getPropertySetNames メソッド

構文
public Iterator getPropertySetNames(
   java.lang.String component_name )
備考

指定したコンポーネントのプロパティ・セット名のリストを返します。これらのプロパティは、Mobile Link システム・テーブル ml_property に格納されます。

パラメータ
  • component_name   プロパティ名をリストするコンポーネントの名前。

戻り値

指定したコンポーネントのプロパティ・セット名のリスト

参照

次のコードは、指定したコンポーネントに関連する、ServerContext のすべてのプロパティをリストします。

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