Compartilhar via


SearchServiceApplication.IsQuerySuggestionEnabled method

Verifica se as sugestões de consulta são habilitados ou desabilitados para o atual SearchObjectOwner.

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

Syntax

'Declaração
Public Function IsQuerySuggestionEnabled ( _
    owner As SearchObjectOwner _
) As Boolean
'Uso
Dim instance As SearchServiceApplication
Dim owner As SearchObjectOwner
Dim returnValue As Boolean

returnValue = instance.IsQuerySuggestionEnabled(owner)
public bool IsQuerySuggestionEnabled(
    SearchObjectOwner owner
)

Parâmetros

Valor retornado

Type: System.Boolean
true se sugestões de consulta estão habilitados para o proprietário atual, caso contrário, false.

Implements

ISearchSiteAdministrationServiceApplication.IsQuerySuggestionEnabled(SearchObjectOwner)

Ver também

Referência

SearchServiceApplication class

SearchServiceApplication members

Microsoft.Office.Server.Search.Administration namespace

SetQuerySUggestionEnabled()