GetDataSourceByName méthode
Accesses a data source by its name.
Espace de noms : Microsoft.ReportingServices.RdlObjectModel
Assembly : Microsoft.ReportingServices.Designer.Controls (dans Microsoft.ReportingServices.Designer.Controls.dll)
Syntaxe
'Déclaration
Public Function GetDataSourceByName ( _
name As String _
) As DataSource
'Utilisation
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
Paramètres
- name
Type : System. . :: . .String
The data source name.
Valeur de retour
Type : Microsoft.ReportingServices.RdlObjectModel. . :: . .DataSource
A DataSource object.
Voir aussi