AudienceCollection.AudienceExist AudienceCollection.AudienceExist AudienceCollection.AudienceExist Method

Definition

Overloads

AudienceExist(Guid) AudienceExist(Guid) AudienceExist(Guid)

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

AudienceExist(String) AudienceExist(String) AudienceExist(String)

Checks for the existence of an Audience object with the specified name.

AudienceExist(Guid) AudienceExist(Guid) AudienceExist(Guid)

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

public:
 bool AudienceExist(Guid AudienceID);
public bool AudienceExist (Guid AudienceID);
Public Function AudienceExist (AudienceID As Guid) As Boolean
Parameters
AudienceID
Guid Guid Guid

The GUID for an audience.

Returns

true if the audience exists for the current site; otherwise, false.

AudienceExist(String) AudienceExist(String) AudienceExist(String)

Checks for the existence of an Audience object with the specified name.

public:
 bool AudienceExist(System::String ^ AudienceName);
public bool AudienceExist (string AudienceName);
Public Function AudienceExist (AudienceName As String) As Boolean
Parameters
AudienceName
String String String

The name for an audience.

Returns

true if the audience exists; otherwise, false.

Applies to