Método GetDataSourceByName
Accesses a data source by its name.
Namespace: Microsoft.ReportingServices.RdlObjectModel
Assembly: Microsoft.ReportingServices.Designer.Controls (em Microsoft.ReportingServices.Designer.Controls.dll)
Sintaxe
'Declaração
Public Function GetDataSourceByName ( _
name As String _
) As DataSource
'Uso
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
Parâmetros
- name
Tipo: System. . :: . .String
The data source name.
Valor de retorno
Tipo: Microsoft.ReportingServices.RdlObjectModel. . :: . .DataSource
A DataSource object.
Consulte também