Udostępnij za pośrednictwem


Właściwość ReportCredentialsEventArgs.Credentials —

Gets a collection of DataSourceCredentials.

Przestrzeń nazw:  Microsoft.Reporting.WebForms
Zestaw:  Microsoft.ReportViewer.WebForms (w Microsoft.ReportViewer.WebForms.dll)

Składnia

'Deklaracja
Public ReadOnly Property Credentials As DataSourceCredentialsCollection
public DataSourceCredentialsCollection Credentials { get; }
public:
property DataSourceCredentialsCollection^ Credentials {
    DataSourceCredentialsCollection^ get ();
}
member Credentials : DataSourceCredentialsCollection with get
function get Credentials () : DataSourceCredentialsCollection

Wartość właściwości

Typ: Microsoft.Reporting.WebForms.DataSourceCredentialsCollection
A collection of DataSourceCredentials objects.

Uwagi

By default, this property contains the credentials that the user supplies in the credentials prompt area. Although it is read-only, you can modify the DataSourceCredentials objects in the collection property before the credentials are submitted to the server (when you handle the SubmittingDataSourceCredentials event).

Zobacz też

Informacje

ReportCredentialsEventArgs Klasa

Przestrzeń nazw Microsoft.Reporting.WebForms