AudienceCollection methods

The AudienceCollection type exposes the following members.

Methods

  Name Description
Public method AudienceExist(Guid) Indicates whether the audience with the specified globally unique identifier (GUID) exists for the current site.
Public method AudienceExist(String) Checks for the existence of an Audience object with the specified name.
Public method CopyTo Copies the elements of the AudienceCollection to an array, starting at a specified index.
Public method Create(String, String) Creates an instance of the Audience object.
Public method Create(String, String, AudienceGroupOperation) Creates an instance of the Audience object.
Public method Create(String, String, String, AudienceGroupOperation) Validates the input parameters and creates an instance of the Audience object.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that iterates through the AudienceCollection object.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove(Guid) Removes the Audience object with the specified globally unique identifier (GUID) from the collection.
Public method Remove(String) Removes the audience with the specified name from the collection.
Public method ToString (Inherited from Object.)

Top

See also

Reference

AudienceCollection class

Microsoft.Office.Server.Audience namespace