Gets or sets a value that indicates whether this Web site is included by PortalSiteMapProvider objects that have NavigationType set to Global.
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
This property is superseded by IncludeSubSitesInNavigation such that, even if this property is set to true, if the specified property on the parent Web site is set to false, this Web site does not appear in navigation.
Setting this property opens, modifies, or updates the parent PublishingWeb object. This action can make other instances of the same PublishingWeb stale. When showing or hiding several child objects of the same parent, using IncludeInNavigation(Boolean, Guid) or PublishingWebExcludeFromNavigation(Boolean, Guid) may perform better.
To save changes after setting this property, call the Update method.