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
- AudienceName
Type: System.String
Audience name.
Return Value
Type: System.Boolean
true indicates the audience exists; otherwise, false.