Share via


ReportCredentialsEventArgs.Credentials Property

 

Gets a collection of DataSourceCredentials.

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

Syntax

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

Property Value

Type: Microsoft.Reporting.WinForms.DataSourceCredentialsCollection

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

ReportCredentialsEventArgs Class
Microsoft.Reporting.WinForms Namespace

Return to top