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