Delen via


ISfcConnection.IsOpen Property

Gets a value indicating whether the connection is open.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
ReadOnly Property IsOpen As Boolean
    Get
'Usage
Dim instance As ISfcConnection
Dim value As Boolean

value = instance.IsOpen
bool IsOpen { get; }
property bool IsOpen {
    bool get ();
}
abstract IsOpen : bool
function get IsOpen () : boolean

Property Value

Type: System.Boolean
True if the connection is open; otherwise, false.