示例#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);
            }
        }
示例#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);
            }
        }
示例#3
0
 public SpConnection(string connString)
 {
     listService = new Sp.Data.WS.Lists();
     //ConnectionString = connString;
     ParseConnectionString(connString);
 }
示例#4
0
 public SpConnection(string connString)
 {
     listService = new Sp.Data.WS.Lists();
     //ConnectionString = connString;
     ParseConnectionString(connString);
 }