Controls the maximum number of "dynamic" child items to show beneath this site in global navigation.Dynamic children are sub-sites (represented by SPWeb objects) and publishing pages.
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
The default value is 20. Setting the value to 0 removes the limit.The value of the DynamicPageLimit property on the associated PortalSiteMapProvider takes precedence over this setting unless PortalSiteMapProviader.DynamicPageLimit is set to 0, which is the default. You can use this property to limit the effect of poor navigation management. When a site has a large number of sub-sites or pages, and the GlobalIncludeSubSites and GlobalIncludePages properties are set to true, all the items are displayed in the the navigation menus. Showing large numbers of items in the navigation menus is not useful and can have a negative impact on performance.To save changes after setting this property, call the PublishingWeb.Update method.