Share via


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