PortalNavigation.CurrentIncludeSubSites property

Gets or sets whether sub-sites of this site will be included automatically in its current navigation.

Namespace:  Microsoft.SharePoint.Publishing.Navigation
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

public bool CurrentIncludeSubSites { get; set; }

Property value

Type: System.Boolean
true if sub-sites are included automatically in current navigation; otherwise, false.

To save changes after setting this property, call the Update() method.

Show: