ReportCredentialsEventArgs.Credentials Property
Gets a collection of DataSourceCredentials.
Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)
Syntax
'Declaration
Public ReadOnly Property Credentials As DataSourceCredentialsCollection
'Usage
Dim instance As ReportCredentialsEventArgs
Dim value As DataSourceCredentialsCollection
value = instance.Credentials
public DataSourceCredentialsCollection Credentials { get; }
public:
property DataSourceCredentialsCollection^ Credentials {
DataSourceCredentialsCollection^ get ();
}
/** @property */
public DataSourceCredentialsCollection get_Credentials ()
public function get Credentials () : DataSourceCredentialsCollection
Property Value
A collection of DataSourceCredentials objects.
Remarks
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).
See Also
Reference
ReportCredentialsEventArgs Class
ReportCredentialsEventArgs Members
Microsoft.Reporting.WebForms Namespace