Share via


PublishingPage.Audience Property

String 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
The Audience property returns a string that represents the audience to which the active page is targeted.

See Also

Reference

PublishingPage Class

PublishingPage Members

Microsoft.SharePoint.Publishing Namespace