StateChangeEventArgs.CurrentState Property


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

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

public ConnectionState CurrentState { get; }

Property Value

Type: System.Data.ConnectionState

One of the ConnectionState values.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top