Freigeben über


LocalReport.DataSources-Eigenschaft

Ruft eine Auflistung der vom Bericht verwendeten Datenquellen ab.

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

Syntax

'Declaration
<WebBrowsableAttribute(True)> _
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
Public ReadOnly Property DataSources As ReportDataSourceCollection
[WebBrowsableAttribute(true)]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public ReportDataSourceCollection DataSources { get; }
[WebBrowsableAttribute(true)]
[PersistenceModeAttribute(PersistenceMode::InnerProperty)]
public:
property ReportDataSourceCollection^ DataSources {
    ReportDataSourceCollection^ get ();
}
[<WebBrowsableAttribute(true)>]
[<PersistenceModeAttribute(PersistenceMode.InnerProperty)>]
member DataSources : ReportDataSourceCollection with get
function get DataSources () : ReportDataSourceCollection

Eigenschaftswert

Typ: Microsoft.Reporting.WebForms.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.

Siehe auch

Referenz

LocalReport Klasse

Microsoft.Reporting.WebForms-Namespace