Retrieving ClientId For SqlSyncProvider And SqlCESync Provider RRS feed

  • Question

  • Maybe I'm completely missing it in the documentation and examples, but how do you retrieve the ClientID for a sync provider using the newer 2.1 SqlSyncProvider and SqlCESyncProvider classes. The documentation and all examples show how to do it using the old SqlCeClientSyncProvider, but none of the new providers.




    Tuesday, June 21, 2011 9:12 PM

All replies

  • i dont think the newer database providers uses the ClientId anymore. the newer "knowledge-based" providers uses ReplicaId instead to represent each copy in the sync topology.
    Wednesday, June 22, 2011 12:54 AM
  • June thanks for replying!

    Do you know how to access the RepicaID for a provider?

    Wednesday, June 22, 2011 1:54 AM
  • check the event args of of the SqlSyncProvider events (ChangesSelected, ApplyingChanges, etc...), if am not mistaken there are properties there with sync knowledge.
    Wednesday, June 22, 2011 2:16 AM