Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
返回当前正在此连接上同步的数据库的远程 ID。
String DBConnectionContext.getRemoteID()
远程 ID。
有关远程 ID 的详细信息,请参见远程 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); }