共用方式為


State 屬性

Gets the state of the collection set.

命名空間:  Microsoft.SqlServer.Management.Collector
組件:  Microsoft.SqlServer.Management.Collector (在 Microsoft.SqlServer.Management.Collector.dll 中)

語法

'宣告
Public ReadOnly Property State As SfcObjectState
    Get
'用途
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

屬性值

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

備註

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