Share via


DataConnectionDialog.VerifySettings Event

The event raised when a user attempts to accept the connection settings in the Data Connection dialog box.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Public Event VerifySettings As EventHandler
'Usage
Dim instance As DataConnectionDialog 
Dim handler As EventHandler 

AddHandler instance.VerifySettings, handler
public event EventHandler VerifySettings
public:
 event EventHandler^ VerifySettings {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
JScript does not support events.

Remarks

The purpose of this event is to allow a caller of the Data Connection dialog box to provide logic for verifying the connection settings meet the requirements for their context. An example of where this event may be used is if the connection must target a particular database server version. In this case, the handler of this event would examine the server specified in the connection settings and throw an exception if it was the incorrect version.

.NET Framework Security

See Also

Reference

DataConnectionDialog Class

DataConnectionDialog Members

Microsoft.VisualStudio.Data Namespace