IAnalyticsServiceApplication.GetSearchReport method

Gets data for a search report, including top queries that apply to that particular search report.

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

Syntax

'Declaration
<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)
'Usage
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
)

Parameters

  • siteId
    Type: System.Guid

    The day or month to use in association with the time frame.

  • reportDate
    Type: System.DateTime

    The time frame (day or month) for which to retrieve data.

  • bDaily
    Type: System.Boolean

    The maximum number of top queries to return.

  • maxRows
    Type: System.UInt32

    The maximum number of rows to return.

Return value

Type: System.Collections.Generic.IList<QueryReportData>
Top queries that apply to the particular search report.

See also

Reference

IAnalyticsServiceApplication interface

IAnalyticsServiceApplication members

Microsoft.Office.Server.Search.Analytics namespace