SearchServiceApplication.GetQuerySuggestionCandidates method
Recupera a lista de candidatos de sugestão de consulta como seqüências de caracteres para o dado SearchObjectOwner.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaração
Public Function GetQuerySuggestionCandidates ( _
owner As SearchObjectOwner, _
sourceId As Guid _
) As List(Of String)
'Uso
Dim instance As SearchServiceApplication
Dim owner As SearchObjectOwner
Dim sourceId As Guid
Dim returnValue As List(Of String)
returnValue = instance.GetQuerySuggestionCandidates(owner, _
sourceId)
public List<string> GetQuerySuggestionCandidates(
SearchObjectOwner owner,
Guid sourceId
)
Parâmetros
owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerO proprietário da hierarquia do site de pesquisa.
sourceId
Type: System.GuidIdentifica a lista ou o site para o qual deseja recuperar as sugestões de consulta.
Valor retornado
Type: System.Collections.Generic.List<String>
Uma lista de sugestões de consulta.
Implements
ISearchSiteAdministrationServiceApplication.GetQuerySuggestionCandidates(SearchObjectOwner, Guid)
Ver também
Referência
SearchServiceApplication class