PortalNavigation.GlobalIncludeSubSites property

Controls whether sub-site's of this site will be automatically included in its global navigation.

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

Syntax

'Declaration
Public Property GlobalIncludeSubSites As Boolean
    Get
    Set
'Usage
Dim instance As PortalNavigation
Dim value As Boolean

value = instance.GlobalIncludeSubSites

instance.GlobalIncludeSubSites = value
public bool GlobalIncludeSubSites { get; set; }

Property value

Type: System.Boolean
Returns Boolean.

Remarks

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

See also

Reference

PortalNavigation class

PortalNavigation members

Microsoft.SharePoint.Publishing.Navigation namespace