DbConnection.StateChange Evento

Definizione

Si verifica quando cambia lo stato della connessione.Occurs when the state of the connection changes.

public:
 virtual event System::Data::StateChangeEventHandler ^ StateChange;
public virtual event System.Data.StateChangeEventHandler StateChange;
member this.StateChange : System.Data.StateChangeEventHandler 
Public Overridable Custom Event StateChange As StateChangeEventHandler 

Commenti

L'evento StateChange si verifica quando lo stato della connessione viene modificato da chiuso a aperto o da aperto a chiuso.The StateChange event occurs when the state of the connection changes from closed to opened or from opened to closed.

Si applica a

Vedi anche