Метод GetDataSourceByName
Accesses a data source by its name.
Пространство имен: Microsoft.ReportingServices.RdlObjectModel
Сборка: Microsoft.ReportingServices.Designer.Controls (в Microsoft.ReportingServices.Designer.Controls.dll)
Синтаксис
'Декларация
Public Function GetDataSourceByName ( _
name As String _
) As DataSource
'Применение
Dim instance As Report
Dim name As String
Dim returnValue As DataSource
returnValue = instance.GetDataSourceByName(name)
public DataSource GetDataSourceByName(
string name
)
public:
DataSource^ GetDataSourceByName(
String^ name
)
member GetDataSourceByName :
name:string -> DataSource
public function GetDataSourceByName(
name : String
) : DataSource
Параметры
- name
Тип System. . :: . .String
The data source name.
Возвращаемое значение
Тип Microsoft.ReportingServices.RdlObjectModel. . :: . .DataSource
A DataSource object.
См. также