StateChangeEventArgs.CurrentState Property

Definition

Gets the new state of the connection. The connection object will be in the new state already when the event is fired.

public:
 property System::Data::ConnectionState CurrentState { System::Data::ConnectionState get(); };
public System.Data.ConnectionState CurrentState { get; }
member this.CurrentState : System.Data.ConnectionState
Public ReadOnly Property CurrentState As ConnectionState

Property Value

One of the ConnectionState values.

Applies to