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