Partilhar via


Propriedade State

Gets the state of the collection set.

Namespace:  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (em Microsoft.SqlServer.Management.Collector.dll)

Sintaxe

'Declaração
Public ReadOnly Property State As SfcObjectState
    Get
'Uso
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

Valor da propriedade

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

Comentários

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