Share via


Query.ProcessBestBets property

A Boolean value that determines whether Best Bets are enabled.

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

Syntax

'Declaration
Public Property ProcessBestBets As Boolean
    Get
    Set
'Usage
Dim instance As Query
Dim value As Boolean

value = instance.ProcessBestBets

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

Property value

Type: System.Boolean
true if the best bets are requested; otherwise, false

Remarks

This property works in conjunction with EnableQueryRules(). To enable Best Bets, EnableQueryRules() must be true.

See also

Reference

Query class

Query members

Microsoft.SharePoint.Client.Search.Query namespace