Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LocalDataCacheSyncAgent

2 views
Skip to first unread message

Asim Tozlu

unread,
Dec 21, 2009, 8:40:01 AM12/21/09
to
Hello,

I attempt to synchronize with an SDF file to SQLServer. In
VS2008, there is also an assistant for this.

In the button click is for me:
LocalDataCacheSyncAgent SyncAgent = new
LocalDataCacheSyncAgent ();
Microsoft.Synchronization.Data.SyncStatistics syncStats =
syncAgent.Synchronize ();

this.textBoxResult.Text + = "Start Time:" +
syncStats.SyncStartTime + Environment.NewLine;
this.textBoxResult.Text + = "Total Changes Downloaded:" +
syncStats.TotalChangesDownloaded + Environment.NewLine;
this.textBoxResult.Text + = "Complete Time:" +
syncStats.SyncCompleteTime + Environment.NewLine;
this.textBoxResult.Text + = String.Empty +
Environment.NewLine;

If I change something in the SQLDatenbank and exports can see the code
I, the database changes in the SDF file. Does the
Wizard or not because I need to do something else. Had only two
Tables selected for testing.

0 new messages