Partager via


LocalReport.GetDataSourceNames, méthode

Retourne les noms de tous les datasets utilisées dans le rapport local.

Espace de noms :  Microsoft.Reporting.WinForms
Assembly :  Microsoft.ReportViewer.WinForms (dans Microsoft.ReportViewer.WinForms.dll)

Syntaxe

'Déclaration
Public Function GetDataSourceNames As IList(Of String)
public IList<string> GetDataSourceNames()
public:
IList<String^>^ GetDataSourceNames()
member GetDataSourceNames : unit -> IList<string> 
public function GetDataSourceNames() : IList<String>

Valeur de retour

Type : IList<String>
Tableau d'objets string qui contiennent la liste des noms de dataset.

Notes

You can use the GetDataSourceNames method to verify that you have provided all of the necessary ReportDataSource.

Voir aussi

Référence

LocalReport Classe

Microsoft.Reporting.WinForms, espace de noms