Exemple #1
0
 static void Main(string[] args)
 {
     SpSyncAgent agent = new SpSyncAgent();
     agent.Configuration.SyncTables.Add("Contacts", Microsoft.Synchronization.Data.SyncDirection.DownloadOnly);
     agent.SessionProgress += agent_SessionProgress;
     agent.Synchronize();
 }
Exemple #2
0
        static void Main(string[] args)
        {
            SpSyncAgent agent = new SpSyncAgent();

            agent.Configuration.SyncTables.Add("Contacts", Microsoft.Synchronization.Data.SyncDirection.DownloadOnly);
            agent.SessionProgress += agent_SessionProgress;
            agent.Synchronize();
        }