共用方式為


IsClosed 屬性

A Boolean which determines whether the [T::Microsoft.SqlServer.Management.Sdk.Sfc.DataProvider] is closed. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

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

語法

'宣告
Public ReadOnly Property IsClosed As Boolean
    Get
'用途
Dim instance As DataProvider
Dim value As Boolean

value = instance.IsClosed
public bool IsClosed { get; }
public:
virtual property bool IsClosed {
    bool get () sealed;
}
abstract IsClosed : bool
override IsClosed : bool
final function get IsClosed () : boolean

屬性值

型別:System. . :: . .Boolean
true if the specified instance is closed; otherwise false.

實作

IDataReader. . :: . .IsClosed