PortalSiteMapProvider.WebSiteMapProvider property

Gets a PortalSiteMapNode object used to enumerate the Web sites in this collection.

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

public static PortalSiteMapProvider WebSiteMapProvider { get; }

Property value

Type: Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider
A reference to the PortalSiteMapProvider object.

Configure this provider to return only PortalWebSiteMapNode objects that represent the SPWeb objects in this site collection.

Show: