SearchServiceApplication.GetPopularQueries 方法

获取用于个人建议频繁查询的列表。

命名空间:  Microsoft.Office.Server.Search.Administration
程序集:  Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)

语法

声明
Public Function GetPopularQueries ( _
    startQuery As Integer, _
    batchSize As Integer, _
    webOwner As SearchObjectOwner, _
    source As SourceRecord, _
    timeStamp As DateTime _
) As PopularQueriesExportResults
用法
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
)

参数

  • startQuery
    类型:System.Int32

    要检索的第一个查询数 (偏移量)。

  • batchSize
    类型:System.Int32

    要检索的查询总数。

  • timeStamp
    类型:System.DateTime

    用来验证是否是最新的查询将返回。

返回值

类型:Microsoft.Office.Server.Search.Query.PopularQueriesExportResults
检索的查询 ;NULL如果不是最新流行的查询。例如,如果未运行计时器作业持续流行的查询。

实现

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

另请参阅

引用

SearchServiceApplication 类

SearchServiceApplication 成员

Microsoft.Office.Server.Search.Administration 命名空间

ImportPopularQueries()