ReportingGallery.GetReportsByCategory Method
Gets a list of installed report templates.
Namespace: Microsoft.Office.RecordsManagement.Reporting
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Function GetReportsByCategory ( _
category As String, _
locale As CultureInfo _
) As SortedList
'Usage
Dim instance As ReportingGallery
Dim category As String
Dim locale As CultureInfo
Dim returnValue As SortedList
returnValue = instance.GetReportsByCategory(category, _
locale)
public SortedList GetReportsByCategory(
string category,
CultureInfo locale
)
Parameters
category
Type: System.StringA string containing "auditing" for auditing reports or "workflow" for workflow reports.
locale
Type: System.Globalization.CultureInfoThe locale if the report will be localized.
Return Value
Type: System.Collections.SortedList
A list of installed report templates.