IReportDataSource Interface

Defines a reporting data source and its interaction with the reporting engine.

Namespace:  Microsoft.Office.RecordsManagement.Reporting
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

Syntax

'Declaration
Public Interface IReportDataSource _
    Inherits IDisposable
'Usage
Dim instance As IReportDataSource
public interface IReportDataSource : IDisposable

Remarks

When running a report, the reporting engine interacts with a reporting data source implementing the IReportDataSource interface and a report generator implementing the IReportGenerator interface.

The reporting engine calls the [T:Microsoft.Office.RecordsManagement.Reporting.IReportDataSource.StartQuery(Microsoft.SharePoint.SPSite,System.Collections.Hashtable)] interface to query for reporting data, followed by the [T:Microsoft.Office.RecordsManagement.Reporting.IReportDataSource.StartReport(System.Collections.Hashtable)] to start the report. Then, for each row defined in the report generator, it calls the GetNextDataRow to get data for the next row. When the report generator has reached maximum row limit, the reporting engine checks if there is more data to report by using the HasMoreData() interface.

See Also

Reference

IReportDataSource Members

Microsoft.Office.RecordsManagement.Reporting Namespace

IReportGenerator