Share via


CollectionSet.State Property

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

Property Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectState
Returns the current state of the collection set, which is either running or stopped.

Remarks

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

See Also

Reference

CollectionSet Class

Microsoft.SqlServer.Management.Collector Namespace