CollectorConfigStore.Enabled 属性

Gets the Boolean property value that indicates whether or not the data collector is enabled.

命名空间:  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
A Boolean value that specifies if the data collector is enabled.If True, the data collector is enabled.If False, the data collector is not enabled.

注释

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

请参阅

参考

CollectorConfigStore 类

Microsoft.SqlServer.Management.Collector 命名空间