Propriedade ReportCredentialsEventArgs.Credentials
Gets a collection of DataSourceCredentials.
Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (em Microsoft.ReportViewer.WebForms.dll)
Sintaxe
'Declaração
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
Valor de propriedade
Tipo: Microsoft.Reporting.WebForms.DataSourceCredentialsCollection
A collection of DataSourceCredentials objects.
Comentários
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).