LocalReport.DataSources-Eigenschaft

Ruft eine Auflistung der vom Bericht verwendeten Datenquellen ab.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property DataSources As ReportDataSourceCollection
    Get
'Usage
Dim instance As LocalReport
Dim value As ReportDataSourceCollection

value = instance.DataSources
[BrowsableAttribute(false)]
public ReportDataSourceCollection DataSources { get; }
[BrowsableAttribute(false)]
public:
property ReportDataSourceCollection^ DataSources {
    ReportDataSourceCollection^ get ();
}
[<BrowsableAttribute(false)>]
member DataSources : ReportDataSourceCollection
function get DataSources () : ReportDataSourceCollection

Eigenschaftswert

Typ: Microsoft.Reporting.WinForms.ReportDataSourceCollection
Ein schreibgeschütztes ReportDataSourceCollection-Objekt.

Hinweise

Obwohl die Auflistungseigenschaft schreibgeschützt ist, können Sie im zurückgegebenen ReportDataSourceCollection-Objekt Datenquellen hinzufügen oder entfernen.

Siehe auch

Verweis

LocalReport Klasse

Microsoft.Reporting.WinForms-Namespace