SearchServiceApplication.ImportPopularQueries method
Importa uma lista de consultas populares 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 ImportPopularQueries ( _
webOwner As SearchObjectOwner, _
source As SourceRecord, _
queries As List(Of PopularQuery), _
ownerVolume As Integer _
) As Integer
'Uso
Dim instance As SearchServiceApplication
Dim webOwner As SearchObjectOwner
Dim source As SourceRecord
Dim queries As List(Of PopularQuery)
Dim ownerVolume As Integer
Dim returnValue As Integer
returnValue = instance.ImportPopularQueries(webOwner, _
source, queries, ownerVolume)
public int ImportPopularQueries(
SearchObjectOwner webOwner,
SourceRecord source,
List<PopularQuery> queries,
int ownerVolume
)
Parâmetros
webOwner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerO proprietário da hierarquia do site de pesquisa.
source
Type: Microsoft.Office.Server.Search.Administration.Query.SourceRecordA origem do resultado das consultas para recuperar.
queries
Type: System.Collections.Generic.List<PopularQuery>Uma lista de consultas populares para importar.
ownerVolume
Type: System.Int32O número de consultas para importar. Se esse valor for definido como 0, todas as consultas anteriormente importadas serão apagadas.
Valor retornado
Type: System.Int32
O número total de consultas que foram importados.
Implements
Ver também
Referência
SearchServiceApplication class