StateChangeEventArgs.CurrentState 属性
定义
获取连接的新状态。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
属性值
ConnectionState 值之一。One of the ConnectionState values.