Partager via


Location.RankingModelID Property

Specifies 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 Location
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

Location Class

Location Members

Microsoft.Office.Server.Search.Query Namespace