Freigeben über


IsOpen-Eigenschaft

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

Eigenschaftswert

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