DataProviderScriptWebPart.RankRulesJson property

Gets or sets a set of rank rules that are applied to all queries issued by this Data Provider. The JSON equivalent of RankRules.

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

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(True)> _
Public Property RankRulesJson As String
    Get
    Set
'Usage
Dim instance As DataProviderScriptWebPart
Dim value As String

value = instance.RankRulesJson

instance.RankRulesJson = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(true)]
public string RankRulesJson { get; set; }

Property value

Type: System.String

See also

Reference

DataProviderScriptWebPart class

DataProviderScriptWebPart members

Microsoft.Office.Server.Search.WebControls namespace