Query.EnableQueryRules property

NOTE: This API is now obsolete.

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

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public Property EnableQueryRules As Boolean
    Get
    Set
'Usage
Dim instance As Query
Dim value As Boolean

value = instance.EnableQueryRules

instance.EnableQueryRules = value
[ObsoleteAttribute("This class is obsolete.")]
public bool EnableQueryRules { get; set; }

Property value

Type: System.Boolean

See also

Reference

Query class

Query members

Microsoft.SharePoint.Search.Query namespace