共用方式為


ISfcProperty.Enabled 屬性

取得 Boolean 屬性值,該值指定是否在其於 SQL Server 執行個體上代表的實體上啟用此屬性。

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

語法

'宣告
Private ReadOnly Property Enabled As Boolean
    Implements ISfcProperty.Enabled
    Get
'用途
Dim instance As [Property]
Dim value As Boolean

value = CType(instance, ISfcProperty).Enabled
bool ISfcProperty.Enabled { get; }
private:
virtual property bool Enabled {
    bool get () sealed = ISfcProperty::Enabled::get;
}
private abstract Enabled : bool
private override Enabled : bool
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。

屬性值

型別:System. . :: . .Boolean
指定是否啟用屬性的 Boolean 值。
如果為 True,則會啟用屬性,
如果為 False (預設值),則不啟用屬性。

實作

ISfcProperty. . :: . .Enabled