Compartilhar via


SiteNavigationSettings.AudienceTargetingEnabled Property

Gets whether audience targeting is enabled for portal navigation.

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

Syntax

'Declaration
Public ReadOnly Property AudienceTargetingEnabled As Boolean
    Get
'Usage
Dim instance As SiteNavigationSettings
Dim value As Boolean

value = instance.AudienceTargetingEnabled
public bool AudienceTargetingEnabled { get; }

Property Value

Type: System.Boolean
Returns Boolean. true if audience targeting is enabled; otherwise false.

See Also

Reference

SiteNavigationSettings Class

SiteNavigationSettings Members

Microsoft.SharePoint.Publishing.Navigation Namespace