Share via


AudienceCollection Members

Include Protected Members
Include Inherited Members

The AudienceCollection class represents a collection of audiences for a portal site.

The AudienceCollection type exposes the following members.

Properties

  Name Description
Public property AudienceCompiledSofar Contains the progress for Audience rule compilation as the number of audiences for which rules are compiled since compilation started.
Public property AudienceRuleChangeSinceLastCompile Gets the number of audience rules that changed since the last compilation.
Public property CompileInProgress Gets a flag that indicates whether rule compilation is in progress.
Public property Count Gets number of audiences in the collection.
Public property IsSynchronized
Public property Item[Guid] Gets the Audience object with the specified globally unique identifier (GUID) from the collection.
Public property Item[Int32] Gets the Audience object with the specified index from the collection.
Public property Item[String] Gets the Audience object with the specified name from the collection.
Public property LastCompileError Contains the last error to occur during rules compilation.
Public property LastCompileFinishTime Gets the date and time when the last rules compilation completed.
Public property LastCompileStartTime Gets the date and time when the last rules compilation started.
Public property MembershipCouldBeInvalid Gets a flag that indicates that audience membership may be out of date.
Public property SyncRoot

Top

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
Public method Create(String, String) Creates an audience with the specified name and description.
Public method Create(String, String, AudienceGroupOperation)
Public method Create(String, String, String, AudienceGroupOperation) Creates an audience with the specified name, description, and group operation.
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