Is there a way to find the relative replica of a replica in a script? Synchronize Changes tool needs the name of the relative to sync to. Instead of having the user pick I want to find it myself.
When running the Synchronize Changes tool through a right click it seems to know where the relative is - even though you can change it, it does default to the correct location. I can not find any properties that tell me this. Where is it getting this value and how can i get it?
ListReplicas gives me the name of the replica but not where the check out replica came from.