Partager via


State propriété

Gets the state of the collection set.

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

Syntaxe

'Déclaration
Public ReadOnly Property State As SfcObjectState
    Get
'Utilisation
Dim instance As CollectionSet
Dim value As SfcObjectState

value = instance.State
public SfcObjectState State { get; }
public:
property SfcObjectState State {
    SfcObjectState get ();
}
member State : SfcObjectState
function get State () : SfcObjectState

Valeur de la propriété

Type : SfcObjectState
Returns the current state of the collection set, which is either running or stopped.

Notes

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