ConnectionManager.IsOpen 属性

定义

如果 SqlConnection 对象与服务器连接,则返回 true。 对于非入池连接,这只能返回 true,因为池连接始终在操作后直接关闭。

public bool IsOpen { get; }
member this.IsOpen : bool
Public ReadOnly Property IsOpen As Boolean

属性值

适用于