Report.GetDataSetByName Method
Accesses a dataset by using the name.
Namespace: Microsoft.ReportingServices.RdlObjectModel
Assembly: Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)
Syntax
'Declaration
Public Function GetDataSetByName ( _
name As String _
) As DataSet
'Usage
Dim instance As Report
Dim name As String
Dim returnValue As DataSet
returnValue = instance.GetDataSetByName(name)
public DataSet GetDataSetByName(
string name
)
public:
DataSet^ GetDataSetByName(
String^ name
)
member GetDataSetByName :
name:string -> DataSet
public function GetDataSetByName(
name : String
) : DataSet
Parameters
- name
Type: System.String
The dataset name.
Return Value
Type: Microsoft.ReportingServices.RdlObjectModel.DataSet
The accessed dataset.