Share via


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)

Syntax

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

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

Parameters

Return Value

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

See Also

Reference

AudienceCollection Class

AudienceCollection Members

AudienceExist Overload

Microsoft.Office.Server.Audience Namespace