SearchServiceApplication.IsQuerySuggestionEnabled method
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)
Syntax
'Declaration
Public Function IsQuerySuggestionEnabled ( _
owner As SearchObjectOwner _
) As Boolean
'Usage
Dim instance As SearchServiceApplication
Dim owner As SearchObjectOwner
Dim returnValue As Boolean
returnValue = instance.IsQuerySuggestionEnabled(owner)
public bool IsQuerySuggestionEnabled(
SearchObjectOwner owner
)
Parameters
owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerThe 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)
See also
Reference
SearchServiceApplication class
SearchServiceApplication members
Microsoft.Office.Server.Search.Administration namespace
SetQuerySUggestionEnabled()