IAnalyticsServiceApplication.GetSearchReport 方法
搜索报表包括应用到该特定的搜索报告的顶部查询获取数据。
命名空间: Microsoft.Office.Server.Search.Analytics
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
<OperationContractAttribute> _
Function GetSearchReport ( _
reportType As Integer, _
tenantId As Guid, _
siteId As Guid, _
reportDate As DateTime, _
bDaily As Boolean, _
maxRows As UInteger _
) As IList(Of QueryReportData)
用法
Dim instance As IAnalyticsServiceApplication
Dim reportType As Integer
Dim tenantId As Guid
Dim siteId As Guid
Dim reportDate As DateTime
Dim bDaily As Boolean
Dim maxRows As UInteger
Dim returnValue As IList(Of QueryReportData)
returnValue = instance.GetSearchReport(reportType, _
tenantId, siteId, reportDate, bDaily, _
maxRows)
[OperationContractAttribute]
IList<QueryReportData> GetSearchReport(
int reportType,
Guid tenantId,
Guid siteId,
DateTime reportDate,
bool bDaily,
uint maxRows
)
参数
reportType
类型:System.Int32搜索报表的类型。
tenantId
类型:System.Guid站点 id。
siteId
类型:System.Guid日或月关联时间框架中使用。
reportDate
类型:System.DateTime要为其检索数据的时间框架 (一天或月)。
bDaily
类型:System.Boolean热门查询返回的最大数目。
maxRows
类型:System.UInt32要返回的行数最大。
返回值
类型:System.Collections.Generic.IList<QueryReportData>
前应用于特定的搜索报表的查询。
另请参阅
引用
IAnalyticsServiceApplication 接口