SearchServiceApplication.IsQuerySuggestionEnabled method

SharePoint 2013

Checks whether query suggestions are enabled or disabled for the current SearchObjectOwner.

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

public bool IsQuerySuggestionEnabled(
	SearchObjectOwner owner
)

Parameters

owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwner

The owner of the search site hierarchy.

Return value

Type: System.Boolean
true if query suggestions are enabled for the current owner, otherwise false.

Implements

ISearchSiteAdministrationServiceApplication.IsQuerySuggestionEnabled(SearchObjectOwner)
Show: