Occurs whenever the state of the connection changes.
The following declaration shows the syntax for a method that handles the StateChange event.
[Visual Basic] Private Sub DBConnectionName_StateChange( _ ByVal sender As Object, _ ByVal e As StateChangeEventArgs _ ) [C#] private void DBConnectionName_StateChange( object sender, StateChangeEventArgs e ); [C++] private: void DBConnectionName_StateChange( Object* sender, StateChangeEventArgs* e ); [JScript] private DBConnectionName_StateChange( sender : Object, e : StateChangeEventArgs );
Property | Description |
---|---|
|
|
|
DBConnection Class | DBConnection MembersTopic | System.Data.Internal Namespace