Mimer SQL Data Provider help
StateChange Event




Mimer.Data.Client Namespace > MimerConnection Class : StateChange Event
Event is fired when the state of the connection changes.
Syntax
'Declaration
 
Public Shadows Event StateChange As StateChangeEventHandler
public new event StateChangeEventHandler StateChange
public event StateChange: StateChangeEventHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: new __event StateChangeEventHandler* StateChange
Event Data

The event handler receives an argument of type StateChangeEventArgs containing data related to this event. The following StateChangeEventArgs properties provide information specific to this event.

PropertyDescription
Gets the new state of the connection. The connection object will be in the new state already when the event is fired.  
Gets the original state of the connection.  
Requirements

.NET Framework
Version 2.0 or later

See Also