示例#1
0
 public SpServerSyncProvider(string server, string username, string password, string domain)
 {
     SyncAdapters = new SpSyncAdapterCollection();
     Connection   = new SpConnection(server, username, password, domain);
     connString   = server;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the SpServerSyncProvider class.
 /// </summary>
 public SpServerSyncProvider(string connectionString)
 {
     SyncAdapters = new SpSyncAdapterCollection();
     Connection   = new SpConnection(connectionString);
     connString   = connectionString;
 }