共用方式為


IsOpen 屬性

Gets a value indicating whether the connection is open.

命名空間:  Microsoft.SqlServer.Management.Common
組件:  Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)

語法

'宣告
ReadOnly Property IsOpen As Boolean
    Get
'用途
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

屬性值

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