I'm working with a Sharepoint site, I'm accessing this site using Web Services,
var client = new SiteWebReference.Lists();
System.Net.NetworkCredential passCredentials = new System.Net.NetworkCredential("username", "password", "domain");
client.Credentials = passCredentials;
This allows me to pull out lists from the site, I'm now trying to also add a new list to the SharePoint site but can't figure out how.
The generated Lists
object has an AddList
method. Call it to add a list.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.