Condividi tramite


ConnectionManager.IsOpen Property

Definition

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

Property Value

Applies to