PublishingPage.Audience property

Gets or sets a value that represents the audience that this PublishingPage is targeted to.

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

Syntax

'Declaration
Public Property Audience As String
    Get
    Set
'Usage
Dim instance As PublishingPage
Dim value As String

value = instance.Audience

instance.Audience = value
public string Audience { get; set; }

Property value

Type: System.String
A string that represents the audience to which the active page is targeted.

See also

Reference

PublishingPage class

PublishingPage members

Microsoft.SharePoint.Publishing namespace