web.Navigation.UseShared = true;
This would set the subsites global nav to "Display the same navigation items as the parent site".
Also, If you want to set the current navigation or quick launch to "Display the current site, the navigation items below the current site,and the current site's siblings" then you can use
SPpublishingWeb.NavigationShowSiblings = true;
Ads by Google
No comments:
Post a Comment