Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DbConnection::StateChange Event

 

Occurs when the state of the event changes.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

public:
event StateChangeEventHandler^ StateChange {
	virtual void add(StateChangeEventHandler^ value);
	virtual void remove(StateChangeEventHandler^ value);
}

The StateChange event occurs when the state of the event changes from closed to opened, or opened to closed.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top
Show: