The following example shows you how to output the remote ID for a DBConnectionContext.
Note
This example assumes you have a DBConnectionContext instance called _cc.
// 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);
}