AudienceCollection.AudienceExist Method (String)

Checks for the existence of an Audience object with the specified name.

Namespace:  Microsoft.Office.Server.Audience
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)


Public Function AudienceExist ( _
    AudienceName As String _
) As Boolean
Dim instance As AudienceCollection
Dim AudienceName As String
Dim returnValue As Boolean

returnValue = instance.AudienceExist(AudienceName)
public bool AudienceExist(
    string AudienceName


Return Value

Type: System.Boolean
true indicates the audience exists; otherwise, false.

See Also


AudienceCollection Class

AudienceCollection Members

AudienceExist Overload

Microsoft.Office.Server.Audience Namespace