Share via


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.String

    A string containing "auditing" for auditing reports or "workflow" for workflow reports.

Return value

Type: System.Collections.SortedList
A list of installed report templates.

See also

Reference

ReportingGallery class

ReportingGallery members

Microsoft.Office.RecordsManagement.Reporting namespace