AudienceSiteCollection Class
The AudienceSiteCollection class represents a collection of portal sites associated with a specific audience.
System.Object
System.Collections.IEnumerable
Microsoft.SharePoint.Portal.Audience.AudienceSiteCollection
Public Methods
The following table shows the methods of the AudienceSiteCollection class and a brief description of each.
| Name | Description |
|---|---|
| GetEnumerator | Returns an enumerator that can iterate through the AudienceSiteCollection. |
Public Properties
The following table shows the properties of the AudienceSiteCollection class, the data type of each property, and a brief description of each.
| Name | Data type | Description |
|---|---|---|
| Count | Integer | Gets or sets the number of audience sites in the collection. |
| IsSynchronized | Boolean | Reserved for internal use only. |
| Item(Int32) | Microsoft.SharePoint.Portal.Audience.AudienceSite | Gets the AudienceSite with the specified index from the collection. |
| Item(String) | System.Collections.ArrayList | Gets the AudienceSite with the specified name from the collection. |
| SyncRoot | Object | Reserved for internal use only. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Requirements
Namespace: Microsoft.SharePoint.Portal.Audience
Platforms: Microsoft Windows Server 2003
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Security: Code Access Security