String SiteURL = "";
SPSite site = new SPSite(SiteURL);
SPWeb myWeb = site.OpenWeb();
foreach (SPList aList in myWeb.Lists)
{
string ListTitle = aList.Title;
//string rootName = aList.RootFolder.Name;
}
SPSite site = new SPSite(SiteURL);
SPWeb myWeb = site.OpenWeb();
foreach (SPList aList in myWeb.Lists)
{
string ListTitle = aList.Title;
//string rootName = aList.RootFolder.Name;
}
No comments:
Post a Comment