State 属性

获取收集组的状态。

命名空间:  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

属性值

类型:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcObjectState
返回收集组的当前状态,即正在运行或已停止。

注释

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