SPSystemPerformanceCounterMonitor.Category 属性

获取显示器的类别 (有时称为"性能对象")。

命名空间:  Microsoft.SharePoint.Utilities
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public ReadOnly Property Category As String
    Get
用法
Dim instance As SPSystemPerformanceCounterMonitor
Dim value As String

value = instance.Category
public string Category { get; }

属性值

类型:System.String
类别的名称。

备注

显示器的类别是 Windows Server 2008 的所谓的性能监视器用户界面中的监视器"性能对象"。类别的典型例子是"处理器,""SQL Server 数据库"和"搜索 Gatherer SharePoint 基础"。类别是一些硬件或软件实体,其性能受到一个或多个方法的度量值。

另请参阅

引用

SPSystemPerformanceCounterMonitor 类

SPSystemPerformanceCounterMonitor 成员

Microsoft.SharePoint.Utilities 命名空间