This documentation is archived and is not being maintained.

ReportCredentialsEventArgs.Credentials Property

Visual Studio 2010

Gets a collection of DataSourceCredentials.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

public DataSourceCredentialsCollection Credentials { get; }
/** @property */
public DataSourceCredentialsCollection get_Credentials ()

public function get Credentials () : DataSourceCredentialsCollection

Property Value

A collection of DataSourceCredentials objects.

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).