Share via


SwitchableSiteMapProvider.DefaultTargetProviderName property

Gets a string value that is assigned via the web.config attribute.

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

Syntax

'Declaration
Public ReadOnly Property DefaultTargetProviderName As String
    Get
'Usage
Dim instance As SwitchableSiteMapProvider
Dim value As String

value = instance.DefaultTargetProviderName
public string DefaultTargetProviderName { get; }

Property value

Type: System.String
A string value that is assigned via the web.config attribute

Remarks

The DefaultTargetProviderName property is used for backward compatibility; it specifies a default target provider name to use when the WebNavigationSettings object is undefined for the current SPWeb object.

See also

Reference

SwitchableSiteMapProvider class

SwitchableSiteMapProvider members

Microsoft.SharePoint.Publishing.Navigation namespace