AuthorityPageCollection class

Represents a collection of AuthorityPage objects.


Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public sealed class AuthorityPageCollection : IEnumerable

Authoritative pages, designated by the search administrator, are pages that link to the most relevant information.

Use the AuthorityPages() property of the Ranking class to get the collection of authoritative pages for Search service application.

Use an indexer to return a single authoritative page from the AuthorityPageCollection object. For example, assuming the collection is assigned to a variable named authorityPages, use authorityPages[index] in Microsoft Visual C# or authorityPages(index) in Microsoft Visual Basic, where index is the index number of the authoritative page in the collection, or a System.Uri object representing the URL of the authoritative page.

To designate a page as an authoritative page, use the Create method of the AuthorityPageCollection class.

To remove an authoritative page, use the Delete method of the AuthorityPage class.

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