ASA Programming Guide
Adaptive Server Anywhere .NET Data Provider API Reference
AsaConnection class
Occurs when the state of the connection changes.
event StateChangeEventHandler StateChange
The event handler receives an argument of type StateChangeEventArgs with data related to this event. The following StateChangeEventArgs properties provide information specific to this event: CurrentState and OriginalState.
For more information, see the .NET Framework documentation for OleDbConnection.StateChange Event.