Hi all,
I hope someone can help?
I get a 401.5 error when i try to retrieve the Names public property of the SPWebCollection class.
Code:
SPSite siteColl = new SPSite(targetWebSite.Url);
SPWeb site = siteColl.OpenWeb();
SPWebCollection siteCollection = site.Webs;
// Return...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.