locked
Is there a way to know the sync is completed? RRS feed

  • Question

  •  

    Hello:

     

    we made a custom sync provider. Is there any way to know the sync is completed and what data is synced?

     

    Thanks

    Luke

    • Moved by Max Wang_1983 Thursday, April 21, 2011 5:56 PM forum consolidation (From:SyncFx - Technical Discussion [ReadOnly])
    Thursday, January 29, 2009 11:29 PM

Answers

  •  

    Luke,

     

    For your custom provider, you must have implemented EndSession and SaveChange or SaveChangeWithChangeUnits for the native interface I(A)SynchronousNotifyingChangeApplierTarget . In which case you a call to EndSession by the sync framework is informing the provider that sync is completed.

     

    As far as what data has been synced over, you can track that in SaveChange(WithChangeUnits.)

     

    Hope this helps,

    Sameer 

    -

     

    Friday, January 30, 2009 2:39 AM