ReportViewer.SubmittingDataSourceCredentials Event

Occurs when the user submits new data source credentials viaby using the built-in prompt area.

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

Syntax

'Declaration
Public Event SubmittingDataSourceCredentials As ReportCredentialsEventHandler
'Usage
Dim instance As ReportViewer
Dim handler As ReportCredentialsEventHandler

AddHandler instance.SubmittingDataSourceCredentials, handler
public event ReportCredentialsEventHandler SubmittingDataSourceCredentials
public:
event ReportCredentialsEventHandler^ SubmittingDataSourceCredentials {
    void add (ReportCredentialsEventHandler^ value);
    void remove (ReportCredentialsEventHandler^ value);
}
/** @event */
public void add_SubmittingDataSourceCredentials (ReportCredentialsEventHandler value)

/** @event */
public void remove_SubmittingDataSourceCredentials (ReportCredentialsEventHandler value)
JScript supports the use of events, but not the declaration of new ones.

Remarks

This event occurs when the user submits data source credentials. Information about this event is passed in a ReportCredentialsEventArgs object to the ReportCredentialsEventHandler delegate, which handles the event. This event only applies to remote processing mode.

Handle this event to read or modify the data source credentials before they are submitted to the report server.

For more information about handling events, see Consuming Events.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WinForms Namespace
DataSourceCredentials Class
DataSourceCredentialsCollection Class