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.StringUne chaîne contenant « audit » pour l'audit des rapports ou « workflow » pour les rapports de flux de travail.
locale
Type : System.Globalization.CultureInfoLes paramètres régionaux si le rapport est localisé.
Valeur renvoyée
Type : System.Collections.SortedList
Une liste de modèles de rapports installés.
Voir aussi
Référence
Microsoft.Office.RecordsManagement.Reporting - Espace de noms