LocalReport.GetDataSourceNames Method
Returns the names of all data sources used within the local report.
Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)
Syntax
'Declaration
Public Function GetDataSourceNames As IList(Of String)
'Usage
Dim instance As LocalReport
Dim returnValue As IList(Of String)
returnValue = instance.GetDataSourceNames
public IList<string> GetDataSourceNames ()
public:
IList<String^>^ GetDataSourceNames ()
public IList<String> GetDataSourceNames ()
public function GetDataSourceNames () : IList<String>
Return Value
An array of String objects containing the list of data source names.
Remarks
You can use the GetDataSourceNames method to verify that you have provided all of the necessary ReportDataSource objects for a subreport that is loaded by LoadSubreportDefinition.
See Also
Reference
LocalReport Class
LocalReport Members
Microsoft.Reporting.WebForms Namespace