Partager via


ReportingGallery.GetReportsByCategory - Méthode

Obtient une liste des modèles de rapports installés.

Espace de noms :  Microsoft.Office.RecordsManagement.Reporting
Assembly :  Microsoft.Office.Policy (dans Microsoft.Office.Policy.dll)

Syntaxe

'Déclaration
Public Function GetReportsByCategory ( _
    category As String, _
    locale As CultureInfo _
) As SortedList
'Utilisation
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
)

Paramètres

  • category
    Type : System.String

    Une chaîne contenant « audit » pour l'audit des rapports ou « workflow » pour les rapports de flux de travail.

Valeur renvoyée

Type : System.Collections.SortedList
Une liste de modèles de rapports installés.

Voir aussi

Référence

ReportingGallery classe

ReportingGallery - Membres

Microsoft.Office.RecordsManagement.Reporting - Espace de noms