Partilhar via


AuthorityPageCollection.Create Method

Creates an authoritative page.

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

Syntax

'Declaration
Public Function Create ( _
    url As Uri, _
    level As Single _
) As AuthorityPage
'Usage
Dim instance As AuthorityPageCollection
Dim url As Uri
Dim level As Single
Dim returnValue As AuthorityPage

returnValue = instance.Create(url, level)
public AuthorityPage Create(
    Uri url,
    float level
)

Parameters

  • url
    Type: System.Uri

    A System.Uri object representing the URL of the authoritative page.

  • level
    Type: System.Single

    A floating-point number specifying the level value for the authoritative page. Must be 0, 1, or 2.

Return Value

Type: Microsoft.Office.Server.Search.Administration.AuthorityPage
An AuthorityPage object.

Remarks

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

Because there can be several authoritative pages for a Search service application, you can specify how valuable the page is when creating the authoritative page with the level parameter. For the most valuable pages, specify 0 (zero) for the level parameter.

See Also

Reference

AuthorityPageCollection Class

AuthorityPageCollection Members

Microsoft.Office.Server.Search.Administration Namespace