locked
n-tier, how to access serverSyncProvider.SyncProgress ? RRS feed

  • Question

  • SQLExpressProviderSample does this : 

    serverSyncProvider.SyncProgress += new EventHandler<SyncProgressEventArgs>(serverSyncProvider_SyncProgress);

    serverSyncProvider.ApplyChangeFailed += new EventHandler<ApplyChangeFailedEventArgs>(serverSyncProvider_ApplyChangeFailed);
    --------------------------------------------------------------

    I have n-tier, so i use a proxy instead of serverSyncProvider.
    How do I get ahold of the SyncProgress and ApplyChangeFailed events of the server?
    Thanks,Peter

     

    • Moved by Hengzhe Li Friday, April 22, 2011 5:06 AM (From:SyncFx - Microsoft Sync Framework Database Providers [ReadOnly])
    Thursday, March 26, 2009 10:03 PM

Answers

  • I answered my own question.  SyncProgress and ApplyChangeFailed events are associated with the sync agent, which is wrapped in SynchEngine.

    Thanks anyways,Peter

    Friday, March 27, 2009 9:37 PM