Sdílet prostřednictvím


Report.GetDataSetsByDataSourceName Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets the data sets using the source name.

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Function GetDataSetsByDataSourceName ( _
    dataSourceName As String _
) As IEnumerable(Of DataSet)
'Usage
Dim instance As Report 
Dim dataSourceName As String 
Dim returnValue As IEnumerable(Of DataSet)

returnValue = instance.GetDataSetsByDataSourceName(dataSourceName)
public IEnumerable<DataSet> GetDataSetsByDataSourceName(
    string dataSourceName
)
public:
IEnumerable<DataSet^>^ GetDataSetsByDataSourceName(
    String^ dataSourceName
)
member GetDataSetsByDataSourceName : 
        dataSourceName:string -> IEnumerable<DataSet> 
public function GetDataSetsByDataSourceName(
    dataSourceName : String
) : IEnumerable<DataSet>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<DataSet>
The retrieved datasets.

See Also

Reference

Report Class

Microsoft.ReportingServices.RdlObjectModel Namespace