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
[BrowsableAttribute(false)]
public ReportDataSourceCollection DataSources { get; }
[BrowsableAttribute(false)]
public:
property ReportDataSourceCollection^ DataSources {
ReportDataSourceCollection^ get ();
}
[<BrowsableAttribute(false)>]
member DataSources : ReportDataSourceCollection with get
function get DataSources () : ReportDataSourceCollection
Eigenschaftswert
Typ: Microsoft.Reporting.WinForms.ReportDataSourceCollection
Ein schreibgeschütztes ReportDataSourceCollection-Objekt.
Hinweise
Although the collection property is ready only, you can add or remove data sources in the returned ReportDataSourceCollection object.