Occurs when the state of the SAConnection object changes.
Visual Basic Public Overrides Event StateChange As StateChangeEventHandler
C# public event override 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.
CurrentState Gets the new state of the connection. The connection object will be in the new state already when the event is fired.
OriginalState Gets the original state of the connection.
|Envoyer votre avis sur cette page par email.||Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1|