StateChangeEventArgs.CurrentState 属性

定义

获取连接的新状态。 在激发该事件时,连接对象将处于新状态。

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 值之一。

适用于