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
- credentials
Tipo: System.Collections.Generic.IEnumerable<DataSourceCredentials>
Set di credenziali per l'origine dati da sottoporre al server di rapporti.