Share via


Query.EnableQueryRules property

A Boolean value that specifies whether Query Rules are enabled for this query..

Namespace:  Microsoft.SharePoint.Client.Search.Query
Assembly:  Microsoft.SharePoint.Client.Search (in Microsoft.SharePoint.Client.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

Remarks

The default value is true

See also

Reference

Query class

Query members

Microsoft.SharePoint.Client.Search.Query namespace