StandardNavigationSettings.Source property

Gets or sets the configuration for the global navigation or the current navigation (the standard navigation scheme).

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

Syntax

'Declaration
Public Property Source As StandardNavigationSource
    Get
    Set
'Usage
Dim instance As StandardNavigationSettings
Dim value As StandardNavigationSource

value = instance.Source

instance.Source = value
public StandardNavigationSource Source { get; set; }

Property value

Type: Microsoft.SharePoint.Publishing.Navigation.StandardNavigationSource

Exceptions

Exception Condition
System.InvalidOperationException

Thrown when attempting to assign Unknown to this property..

Remarks

Use this property to determine the navigation model for a site.

This property determines the configuration for the SwitchableSiteMapProvider object, the PortalSiteMapProvider object, and the TaxonomySiteMapProvider object that together represent the standard navigation models

See also

Reference

StandardNavigationSettings class

StandardNavigationSettings members

Microsoft.SharePoint.Publishing.Navigation namespace