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)

Syntax

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

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

Parameters

Return Value

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

See Also

Reference

AudienceCollection Class

AudienceCollection Members

AudienceExist Overload

Microsoft.Office.Server.Audience Namespace