PortalSiteMapDataSource.PortalProvider property
Gets an object that represents the underlying PortalSiteMapProvider instance.
Namespace: Microsoft.SharePoint.Publishing.Navigation
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public ReadOnly Property PortalProvider As PortalSiteMapProvider
Get
'Usage
Dim instance As PortalSiteMapDataSource
Dim value As PortalSiteMapProvider
value = instance.PortalProvider
public PortalSiteMapProvider PortalProvider { get; }
Property value
Type: Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider
The underlying provider if the provider is of type PortalSiteMapProvider; otherwise, a null reference (Nothing in Visual Basic).
Remarks
This property is based on the Provider property from the base class, which returns the underlying provider. In the case where the data source is bound to a SwitchableSiteMapProvider object with a configuration that aps to a PortalSiteMapProvider instance, the PortalProvider property follows the link to return the underlying provider.