Partager via


Propriété IsRunning

Obtient la valeur de propriété Boolean qui indique si le jeu d'éléments de collecte est ou non en cours d'exécution.

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 Property IsRunning As Boolean
    Get
    Private Set
'Utilisation
Dim instance As CollectionSet
Dim value As Boolean

value = instance.IsRunning
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public bool IsRunning { get; private set; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property bool IsRunning {
    bool get ();
    private: void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member IsRunning : bool with get, private set
function get IsRunning () : boolean
private function set IsRunning (value : boolean)

Valeur de propriété

Type : System. . :: . .Boolean
Valeur Boolean qui spécifie si la collection est en cours d'exécution.
Si True, le jeu d'éléments de collecte est en cours d'exécution.
Si False, le jeu d'éléments de collecte n'est pas en cours d'exécution.

Notes

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