SearchResultsBaseWebPart.DefaultRankingModelID Property
Gets or sets the identifier (ID) for the default ranking model.
Namespace: Microsoft.Office.Server.Search.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property DefaultRankingModelID As String
Get
Set
'Usage
Dim instance As SearchResultsBaseWebPart
Dim value As String
value = instance.DefaultRankingModelID
instance.DefaultRankingModelID = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public string DefaultRankingModelID { get; set; }
Property Value
Type: System.String
The ranking model ID.
See Also
Reference
SearchResultsBaseWebPart Class