共用方式為


Enabled 屬性

取得 Boolean 屬性值,指出資料收集器是否已啟用。

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property Enabled As Boolean
    Get
'用途
Dim instance As CollectorConfigStore
Dim value As Boolean

value = instance.Enabled
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public bool Enabled { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property bool Enabled {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member Enabled : bool
function get Enabled () : boolean

屬性值

型別:System. . :: . .Boolean
指定資料收集器是否已啟用的 Boolean
如果為 True,表示資料收集器已啟用狀態。
如果為 False,則表示資料收集器未啟用。

備註

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.