AudienceCollection.AudienceExist Method (String)

NOTE: This API is now obsolete.

Obsolete.

Namespace:  Microsoft.SharePoint.Portal.Audience
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<ObsoleteAttribute(""Microsoft.SharePoint.Portal.Audience.AudienceCollection" is obsolete; use class "Microsoft.Office.Server.Audience.AudienceCollection" instead.")> _
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)
[ObsoleteAttribute(""Microsoft.SharePoint.Portal.Audience.AudienceCollection" is obsolete; use class "Microsoft.Office.Server.Audience.AudienceCollection" instead.")]
public bool AudienceExist(
    string AudienceName
)

Parameters

Return Value

Type: System.Boolean

See Also

Reference

AudienceCollection Class

AudienceCollection Members

AudienceExist Overload

Microsoft.SharePoint.Portal.Audience Namespace