Share via


Query.EnableQueryRules property

A Boolean value that specifies whether Query Rules are enabled for this query. 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 Query
Dim value As Boolean

value = instance.EnableQueryRules

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

Property value

Type: System.Boolean

See also

Reference

Query class

Query members

Microsoft.Office.Server.Search.Query namespace