다음을 통해 공유


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

매개 변수