locked
Microsoft Sync - Estimated Time calculation RRS feed

  • Question

  • Hi,

    I used the Microsoft Sync framework to sync the server and client databases. Every time client logs in, the sync program starts but I want to show a progress bar for the end user by showing the estimated time remaining or total estimated time so that I can update the progress bar with that data.

    I know that, we do not know how many records to sync until it hit the synchronize method but I want to know some help on it how to move forward in showing the user how much the sync completed or how much it is left out?

    Nagarjun Reddipalle.

     

    Monday, December 13, 2010 9:34 PM

All replies

  • the ChangesSelected event should give you how many rows are to be synched. you can then use the ApplyingChanges/ApplyChanges/ChangesApplied to update the progress
    Monday, December 13, 2010 11:28 PM
  • Which method\class contains these functions and events.
    Tuesday, December 14, 2010 3:22 PM
  • the sync provider you're using should have them. just check the documentation.

    Tuesday, December 14, 2010 3:26 PM