FilePlanReport.AggregateReports Method
Generates the file plan report(s) for the list and stores them in the specified folder.
Namespace: Microsoft.Office.RecordsManagement.Reporting
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Shared Function AggregateReports ( _
list As SPList, _
folder As SPFolder _
) As Integer
'Usage
Dim list As SPList
Dim folder As SPFolder
Dim returnValue As Integer
returnValue = FilePlanReport.AggregateReports(list, _
folder)
public static int AggregateReports(
SPList list,
SPFolder folder
)
Parameters
list
Type: Microsoft.SharePoint.SPListThe SPList object to generate the report(s) for.
folder
Type: Microsoft.SharePoint.SPFolderThe SPFolder object to store the report(s).
Return Value
Type: System.Int32
The number of reports generated.