Compartilhar via


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