Freigeben über


LocalReport.GetDataSourceNames-Methode

Gibt die Namen aller innerhalb des lokalen Berichts verwendeten Datensatzes zurück.

Namespace:  Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)

Syntax

'Declaration
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>

Rückgabewert

Typ: IList<String>
Ein Array von string-Objekten mit einer Liste von Datenset-Namen.

Hinweise

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

Siehe auch

Referenz

LocalReport Klasse

Microsoft.Reporting.WinForms-Namespace