SiteNavigationSettingsWriter.AudienceTargetingEnabled Property

Gets or sets whether audience targeting is enabled.

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

Syntax

'Declaration
Public Property AudienceTargetingEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SiteNavigationSettingsWriter
Dim value As Boolean

value = instance.AudienceTargetingEnabled

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

Property Value

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

See Also

Reference

SiteNavigationSettingsWriter Class

SiteNavigationSettingsWriter Members

Microsoft.SharePoint.Publishing.Navigation Namespace