AnsweredAssumed Answered

How to unregister a replica when a local geodatabase is removed?

Question asked by paul.haakma on May 23, 2016
Latest reply on May 23, 2016 by paul.haakma

When an offline geodatabase is created from a feature service, a replica is created on the server so that they can be synchronized. When the offline geodatabase is removed from the device, the replica can (should) be removed from the server as it is no longer required.


Does anyone have examples of how to go about unregistering the replica that was linked to a particular offline geodatabase?


I can't see any properties or methods of the Geodatabase object that might reveal the associated replica id. If we at least knew the replica id, then could use a NetworkRequest to unregister it.