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 リファレンス » DBConnectionContext インタフェース

 

getProperties メソッド

構文
public java.util.Properties getProperties( )
備考

この接続のスクリプト・バージョンに基づいて、この接続のプロパティを返します。プロパティは、ml_property テーブルに格納されます。

java.util.Properties の詳細については、Java SDK マニュアルを参照してください。

戻り値

この接続のプロパティ

参照

次の例は、DBConnectionContext のプロパティを出力する方法を示します。

注意

この例は、_cc という DBConnectionContext インスタンスがあることを前提としています。

// The method used to output the connection properties.
public void outputProperties() {
    // output the Properties for the current synchronization
    java.util.Properties properties = _cc.getProperties();
    System.out.println(properties.toString());
}