public java.lang.String getRemoteID( )
この接続で現在同期中のデータベースのリモート ID を返します。バージョン 10 以前のリモート・データベースの場合は、Mobile Link ユーザ名を返します。
リモート ID
次の例は、DBConnectionContext のリモート ID を出力する方法を示します。
この例は、_cc という DBConnectionContext インスタンスがあることを前提としています。
// The method used to output the remote ID. public void outputRemoteID() { // output the Remote ID for the current synchronization String remoteID = _cc.getRemoteID(); System.out.println(remoteID); } |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |