SearchServiceApplication.QuerySuggestionsEnabled property

Gets or sets a flag that indicates whether query suggestions is enabled for the current SearchServiceApplication.

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

Syntax

'Declaration
Public Property QuerySuggestionsEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SearchServiceApplication
Dim value As Boolean

value = instance.QuerySuggestionsEnabled

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

Property value

Type: System.Boolean
true if query suggestions is enabled for the current SearchServiceApplication; otherwise, false. The default is true.

See also

Reference

SearchServiceApplication class

SearchServiceApplication members

Microsoft.Office.Server.Search.Administration namespace