Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
返回连接的当前状态。
Public ReadOnly Overrides Property State As ConnectionState
public override ConnectionState State {get;}
如果连接已打开,则返回 System.Data.ConnectionState.Open;如果连接已关闭,则返回 System.Data.ConnectionState.Closed。