Udostępnij za pośrednictwem


LocalReport.DataSources Property

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)> _
<NotifyParentPropertyAttribute(True)> _
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
<CategoryAttribute("Misc")> _
<WebBrowsableAttribute(True)> _
Public ReadOnly Property DataSources As ReportDataSourceCollection
'Usage
Dim instance As LocalReport
Dim value As ReportDataSourceCollection

value = instance.DataSources
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)] 
[NotifyParentPropertyAttribute(true)] 
[PersistenceModeAttribute(PersistenceMode.InnerProperty)] 
[CategoryAttribute("Misc")] 
[WebBrowsableAttribute(true)] 
public ReportDataSourceCollection DataSources { get; }
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Content)] 
[NotifyParentPropertyAttribute(true)] 
[PersistenceModeAttribute(PersistenceMode::InnerProperty)] 
[CategoryAttribute(L"Misc")] 
[WebBrowsableAttribute(true)] 
public:
property ReportDataSourceCollection^ DataSources {
    ReportDataSourceCollection^ get ();
}
/** @property */
public ReportDataSourceCollection get_DataSources ()
public function get DataSources () : ReportDataSourceCollection

Property Value

A read-only ReportDataSourceCollection object.

See Also

Reference

LocalReport Class
LocalReport Members
Microsoft.Reporting.WebForms Namespace