Compartilhar via


SearchServiceApplication.GetPopularQueries method

Obtém uma lista de consultas freqüentes que são usados para obter sugestões pessoais.

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

Syntax

'Declaração
Public Function GetPopularQueries ( _
    startQuery As Integer, _
    batchSize As Integer, _
    webOwner As SearchObjectOwner, _
    source As SourceRecord, _
    timeStamp As DateTime _
) As PopularQueriesExportResults
'Uso
Dim instance As SearchServiceApplication
Dim startQuery As Integer
Dim batchSize As Integer
Dim webOwner As SearchObjectOwner
Dim source As SourceRecord
Dim timeStamp As DateTime
Dim returnValue As PopularQueriesExportResults

returnValue = instance.GetPopularQueries(startQuery, _
    batchSize, webOwner, source, timeStamp)
public PopularQueriesExportResults GetPopularQueries(
    int startQuery,
    int batchSize,
    SearchObjectOwner webOwner,
    SourceRecord source,
    DateTime timeStamp
)

Parâmetros

  • startQuery
    Type: System.Int32

    O número (deslocamento) da primeira consulta para recuperar.

  • batchSize
    Type: System.Int32

    O número total de consultas para recuperar.

  • timeStamp
    Type: System.DateTime

    Usado para validar se as consultas a serem retornados são atuais.

Valor retornado

Type: Microsoft.Office.Server.Search.Query.PopularQueriesExportResults
As consultas recuperadas; NULL se as consultas populares não são atuais. Por exemplo, se o trabalho de timer persistir as consultas populares não foi executado.

Implements

ISearchSiteAdministrationServiceApplication.GetPopularQueries(Int32, Int32, SearchObjectOwner, SourceRecord, DateTime)

Ver também

Referência

SearchServiceApplication class

SearchServiceApplication members

Microsoft.Office.Server.Search.Administration namespace

ImportPopularQueries()