Report.GetDataSourceByName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Accesses a data source by its name.
public:
Microsoft::ReportingServices::RdlObjectModel::DataSource ^ GetDataSourceByName(System::String ^ name);
public Microsoft.ReportingServices.RdlObjectModel.DataSource GetDataSourceByName (string name);
member this.GetDataSourceByName : string -> Microsoft.ReportingServices.RdlObjectModel.DataSource
Public Function GetDataSourceByName (name As String) As DataSource
Parameters
- name
- String
The data source name.
Returns
The accessed data source.