Programatically set the "Show Subsites" checkbox in the Modify navigation section of a sharepoint site to false using the code below
spweb.AllProperties["__IncludeSubSitesInNavigation"] = "False";
spweb.Update();
Subscribe to:
Post Comments (Atom)
1 comment:
Thanx. It works!
Post a Comment