Query.RankingModelId Property

Applies to: Microsoft SharePoint Server 2010 search
Gets or sets the identifier (ID) of the ranking model to use for the query.

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

Syntax

'Declaration
Public Property RankingModelId As String
    Get
    Set
'Usage
Dim instance As Query
Dim value As String

value = instance.RankingModelId

instance.RankingModelId = value
public string RankingModelId { get; set; }

Property Value

Type: System.String
The ranking model ID.

Remarks

Do not use this property with FAST Search Server 2010 for SharePoint; if used, it will be ignored. You instead specify the rank profile using the Sort class.

See Also

Reference

Query Class

Query Members

Microsoft.Office.Server.Search.Query Namespace