Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets a collection of data sources used by the report.
Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)
Syntax
'Declaration
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)> _
<WebBrowsableAttribute(True)> _
<NotifyParentPropertyAttribute(True)> _
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
Public ReadOnly Property DataSources As ReportDataSourceCollection
'Usage
Dim instance As LocalReport
Dim value As ReportDataSourceCollection
value = instance.DataSources
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)]
[WebBrowsableAttribute(true)]
[NotifyParentPropertyAttribute(true)]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public ReportDataSourceCollection DataSources { get; }
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Content)]
[WebBrowsableAttribute(true)]
[NotifyParentPropertyAttribute(true)]
[PersistenceModeAttribute(PersistenceMode::InnerProperty)]
public:
property ReportDataSourceCollection^ DataSources {
ReportDataSourceCollection^ get ();
}
/** @property */
public ReportDataSourceCollection get_DataSources ()
public function get DataSources () : ReportDataSourceCollection
Property Value
A read-only ReportDataSourceCollection object.
Remarks
Although the collection property is ready only, you can add or remove data sources in the returned ReportDataSourceCollection object.
See Also
Reference
LocalReport Class
LocalReport Members
Microsoft.Reporting.WebForms Namespace