ConnectionManager.IsOpen Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns true if the SqlConnection object is connected with the server. This can only return true for non pooled connections as pooled connections are always closed directly after an operation.
public bool IsOpen { get; }
member this.IsOpen : bool
Public ReadOnly Property IsOpen As Boolean