Freigeben über


ServerReport.SetDataSourceCredentials-Methode

Legt die Anmeldeinformationen für Datenquellen des Berichts fest.

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

Syntax

'Declaration
Public Sub SetDataSourceCredentials ( _
    credentials As IEnumerable(Of DataSourceCredentials) _
)
'Usage
Dim instance As ServerReport
Dim credentials As IEnumerable(Of DataSourceCredentials)

instance.SetDataSourceCredentials(credentials)
public void SetDataSourceCredentials(
    IEnumerable<DataSourceCredentials> credentials
)
public:
void SetDataSourceCredentials(
    IEnumerable<DataSourceCredentials^>^ credentials
)
member SetDataSourceCredentials : 
        credentials:IEnumerable<DataSourceCredentials> -> unit 
public function SetDataSourceCredentials(
    credentials : IEnumerable<DataSourceCredentials>
)

Parameter

Siehe auch

Verweis

ServerReport Klasse

Microsoft.Reporting.WebForms-Namespace