LocalReport.GetDataSourceNames Method
Returns the names of all data sources used within the local report.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.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 that contain the list of data source names.
Remarks
You can use the GetDataSourceNames method to verify that you have provided all of the necessary ReportDataSource.
See Also
Reference
LocalReport Class
LocalReport Members
Microsoft.Reporting.WinForms Namespace