PortalSiteMapProvider.EnableAudienceTargeting Property
Gets or sets whether to respect audience targeting settings when returning navigation nodes.
Namespace: Microsoft.SharePoint.Publishing.Navigation
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Property EnableAudienceTargeting As Boolean
Get
Set
'Usage
Dim instance As PortalSiteMapProvider
Dim value As Boolean
value = instance.EnableAudienceTargeting
instance.EnableAudienceTargeting = value
public bool EnableAudienceTargeting { get; set; }
Property Value
Type: System.Boolean
true to respect audience targeting settings when returning navigation nodes; otherwise, false.
Remarks
If you are not using audience trimming features, you might get a performance improvement if you turn off this property.