Export (0) Print
Expand All
Expand Minimize

SearchServiceApplication.SetQuerySuggestionEnabled method

SharePoint 2013

Enables or disables query suggestions for the current SearchObjectOwner.

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

public void SetQuerySuggestionEnabled(
	SearchObjectOwner owner,
	bool fEnabled
)

Parameters

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

The owner of the search site hierarchy.

fEnabled
Type: System.Boolean

true if query suggestions are enabled; otherwise false.

Implements

ISearchSiteAdministrationServiceApplication.SetQuerySuggestionEnabled(SearchObjectOwner, Boolean)
Show:
© 2015 Microsoft