QueryProperties.EnableQueryRules property

True if Query Rules are turned on for this query. False otherwise. The default value is true.

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

Syntax

'Declaration
Public Property EnableQueryRules As Boolean
    Get
    Set
'Usage
Dim instance As QueryProperties
Dim value As Boolean

value = instance.EnableQueryRules

instance.EnableQueryRules = value
public bool EnableQueryRules { get; set; }

Property value

Type: System.Boolean

See also

Reference

QueryProperties class

QueryProperties members

Microsoft.Office.Server.Search.Query namespace