PortalNavigation.GlobalIncludePages property

Controls whether publishing pages in this site will be automatically included in global navigation.

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

Public Property GlobalIncludePages As Boolean
Dim instance As PortalNavigation
Dim value As Boolean

value = instance.GlobalIncludePages

instance.GlobalIncludePages = value

Property value

Type: System.Boolean
Returns Boolean.

This property affects only a valid publishing site with a Pages list.To save changes after setting this property, call the PublishingWeb.Update method.