Freigeben über


State-Eigenschaft

Gets the state of the collection set.

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

Syntax

'Declaration
Public ReadOnly Property State As SfcObjectState
    Get
'Usage
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

Eigenschaftenwert

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

Hinweise

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