Compartilhar via


ContentByQueryWebPart.FilterByAudience Property

Determines whether to filter by audience.

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

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property FilterByAudience As Boolean
    Get
    Set
'Usage
Dim instance As ContentByQueryWebPart
Dim value As Boolean

value = instance.FilterByAudience

instance.FilterByAudience = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public bool FilterByAudience { get; set; }

Property Value

Type: System.Boolean

Remarks

This property is only applicable if audience targeting is enabled.

See Also

Reference

ContentByQueryWebPart Class

ContentByQueryWebPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace

ContentByQueryWebPart