AudienceCollection class

Represents a collection of audiences for a portal site.


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

[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class AudienceCollection : ICollection, 

This class can be used to enumerate individual audiences, as an entry point for creating an instance of the Audience class, or for removing an existing instance. It also contains general audience information, such as the last compilation timestamp.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.