Freigeben über


ReportDataSource-Konstruktor (String, IDataSource)

Erstellt eine benannte Datenquelle mit einem IDataSource-Element in der Value-Eigenschaft.

Namespace:  Microsoft.Reporting.WebForms
Assembly:  Microsoft.ReportViewer.WebForms (in Microsoft.ReportViewer.WebForms.dll)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    dataSourceValue As IDataSource _
)
'Usage
Dim name As String
Dim dataSourceValue As IDataSource

Dim instance As New ReportDataSource(name, dataSourceValue)
public ReportDataSource(
    string name,
    IDataSource dataSourceValue
)
public:
ReportDataSource(
    String^ name, 
    IDataSource^ dataSourceValue
)
new : 
        name:string * 
        dataSourceValue:IDataSource -> ReportDataSource
public function ReportDataSource(
    name : String, 
    dataSourceValue : IDataSource
)

Parameter

  • name
    Typ: System.String
    Der Name der Datenquelle, der in der Berichtsdefinition für den aktuellen Bericht angegeben ist.

Siehe auch

Verweis

ReportDataSource Klasse

ReportDataSource-Überladung

Microsoft.Reporting.WebForms-Namespace