ReportBase.AggregateReports Method
Generates the reports and stores them in the specified folder.
Namespace: Microsoft.Office.RecordsManagement.Reporting
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Function AggregateReports ( _
query As Hashtable, _
folder As SPFolder, _
reportNameGenerator As ReportBase.ReportNameGenerator _
) As Integer
'Usage
Dim instance As ReportBase
Dim query As Hashtable
Dim folder As SPFolder
Dim reportNameGenerator As ReportBase.ReportNameGenerator
Dim returnValue As Integer
returnValue = instance.AggregateReports(query, _
folder, reportNameGenerator)
public int AggregateReports(
Hashtable query,
SPFolder folder,
ReportBase.ReportNameGenerator reportNameGenerator
)
Parameters
query
Type: System.Collections.HashtableThe query to use for the report(s).
folder
Type: Microsoft.SharePoint.SPFolderThe folder to store the report(s).
reportNameGenerator
Type: Microsoft.Office.RecordsManagement.Reporting.ReportBase.ReportNameGeneratorThe callback to generate names for the report files.
Return Value
Type: System.Int32
The number of reports generated.