Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RankingParameter class
Collapse the table of content
Expand the table of content

RankingParameter class

Represents a ranking parameter used for rank computation in SharePoint Server search.

System.Object
  Microsoft.Office.Server.Search.Administration.RankingParameter

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

[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class RankingParameter

Use the RankingParameters() property of the Ranking class to get the collection of ranking parameters for a Search service application.

Use an indexer to return a single ranking parameter from the RankParamCollection object. For example, assuming the collection is assigned to a variable named rankingParams, use rankingParams[index] in Microsoft Visual C# or rankingParams(index) in Microsoft Visual Basic, where index is the index number of the ranking parameter in the collection, or a string containing the name of the ranking parameter.

NoteNote

You cannot add new ranking parameters, or remove or change the names of existing parameters; you can modify only the ranking parameter's value.

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