Property.ISfcProperty.Enabled 屬性
Gets the Boolean property value that specifies whether the property is enabled on the entity that it represents on the instance of 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
A Boolean value that specifies whether the property is enabled.If True, the property is enabled.If False (default), the property is not enabled.