PublishingWeb.Audience property

Gets or sets a string representing the audience whom this PublishingWeb targets.

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 PublishingWeb
Dim value As String

value = instance.Audience

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

Property value

Type: System.String
A string representing the audience whom this PublishingWeb targets.
To save changes after setting this property, call the Update method.

See also

Reference

PublishingWeb class

PublishingWeb members

Microsoft.SharePoint.Publishing namespace