Condividi tramite


Metodo ServerReport.SetDataSourceCredentials

Imposta le credenziali per l'origine dati per il rapporto.

Spazio dei nomi  Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)

Sintassi

'Dichiarazione
Public Sub SetDataSourceCredentials ( _
    credentials As IEnumerable(Of DataSourceCredentials) _
)
'Utilizzo
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>
)

Parametri

Vedere anche

Riferimento

ServerReport Classe

Spazio dei nomi Microsoft.Reporting.WinForms