All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

DataSourceManager.GetDataSources(XtraReport, Boolean) Method

A static method that returns data sources stored in a report.

Namespace: DevExpress.XtraReports

Assembly: DevExpress.XtraReports.v20.2.dll

Declaration

public static IEnumerable<object> GetDataSources(
    XtraReport report,
    bool includeSubReports = false
)
Public Shared Function GetDataSources(
    report As XtraReport,
    includeSubReports As Boolean = False
) As IEnumerable(Of Object)

Parameters

Name Type Description
report XtraReport

The report from which to return the data sources.

Optional Parameters

Name Type Default Description
includeSubReports Boolean

False

A flag that specifies whether to include data sources from the report's subreports in the returned values.

Returns

Type Description
IEnumerable<Object>

Data sources from the specified report.

See Also