Partilhar via


Método ServerReport.SetDataSourceCredentials

Sets data source credentials for the report.

Namespace:  Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (em Microsoft.ReportViewer.WinForms.dll)

Sintaxe

'Declaração
Public Sub SetDataSourceCredentials ( _
    credentials As IEnumerable(Of DataSourceCredentials) _
)
public void SetDataSourceCredentials(
    IEnumerable<DataSourceCredentials> credentials
)
public:
void SetDataSourceCredentials(
    IEnumerable<DataSourceCredentials^>^ credentials
)
member SetDataSourceCredentials : 
        credentials:IEnumerable<DataSourceCredentials> -> unit 
public function SetDataSourceCredentials(
    credentials : IEnumerable<DataSourceCredentials>
)

Parâmetros

  • credentials
    Tipo: IEnumerable<DataSourceCredentials>
    A set of data source credentials to submit to the report server.

Consulte também

Referência

ServerReport Classe

Namespace Microsoft.Reporting.WinForms