Controls whether this Web site is included by PortalSiteMapProvider objects that have NavigationType set to Current.
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 of the parent Web site is set to false, this Web site does not appear in navigation.
Setting this property causes the parent PublishingWeb to be opened, modified, or updated. This action can make other instances of the same PublishingWeb stale. The IncludeInNavigation(Boolean, Guid) or ExcludeFromNavigation(Boolean, Guid) methods may perform better when showing or hiding several child objects of the same parent.
To save changes after setting this property, call the Update method.