Partager via


Propriété Enabled

Obtient la valeur de propriété Boolean qui indique si le collecteur de données est activé ou non.

Espace de noms :  Microsoft.SqlServer.Management.Collector
Assembly :  Microsoft.SqlServer.Management.Collector (en Microsoft.SqlServer.Management.Collector.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property Enabled As Boolean
    Get
'Utilisation
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

Valeur de propriété

Type : System. . :: . .Boolean
Valeur Boolean qui spécifie si le collecteur de données est activé.
Si True, le collecteur de données est activé.
Si False, le collecteur de données n'est pas activé.

Notes

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