Exemple #1
0
        public SpConnection(string server, string username, string password, string domain)
        {
            listService = new Sp.Data.WS.Lists();
            _server     = server;

            if (username != null && password != null)
            {
                _credentials = new NetworkCredential(username, password, domain);
            }
        }
Exemple #2
0
        public SpConnection(string server, string username, string password, string domain)
        {
            listService = new Sp.Data.WS.Lists();
            _server = server;

            if (username != null && password != null)
            {
                _credentials = new NetworkCredential(username, password, domain);
            }
        }
Exemple #3
0
 public SpConnection(string connString)
 {
     listService = new Sp.Data.WS.Lists();
     //ConnectionString = connString;
     ParseConnectionString(connString);
 }
Exemple #4
0
 public SpConnection(string connString)
 {
     listService = new Sp.Data.WS.Lists();
     //ConnectionString = connString;
     ParseConnectionString(connString);
 }