AudienceCollection.AudienceExist Method (Guid)

Indicates whether the audience with the specified globally unique identifier (GUID) exists for the current site.

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


Public Function AudienceExist ( _
    AudienceID As Guid _
) As Boolean
Dim instance As AudienceCollection
Dim AudienceID As Guid
Dim returnValue As Boolean

returnValue = instance.AudienceExist(AudienceID)
public bool AudienceExist(
    Guid AudienceID


Return Value

Type: System.Boolean
true indicates that the audience exists for the current site; otherwise, false.

See Also


AudienceCollection Class

AudienceCollection Members

AudienceExist Overload

Microsoft.Office.Server.Audience Namespace