SPSystemPerformanceCounterMonitor 成员

表示值的特定系统性能计数器的显示器。

SPSystemPerformanceCounterMonitor 类型公开以下成员。

构造函数

  名称 说明
公共方法 SPSystemPerformanceCounterMonitor(SPPerformanceMonitorCreationData) 通过保持在SharePoint Foundation数据库中的对象中的值初始化为本地计算机的SPSystemPerformanceCounterMonitor类的新实例。
公共方法 SPSystemPerformanceCounterMonitor(String, String) 初始化使用指定的类别和计数器名称的本地计算机的SPSystemPerformanceCounterMonitor类的一个新实例。
公共方法 SPSystemPerformanceCounterMonitor(String, String, String) 初始化使用指定的类别、 计数器和实例名称的本地计算机的SPSystemPerformanceCounterMonitor类的一个新实例。
公共方法 SPSystemPerformanceCounterMonitor(String, String, String, SPSystemPerformanceCounterRelativeInstance) 通过使用指定的类别和计数器的名称,并使用指定的实例命名提示初始化指定的计算机的SPSystemPerformanceCounterMonitor类的新实例。
公共方法 SPSystemPerformanceCounterMonitor(String, String, String, String) 初始化使用指定的类别、 计数器和实例名称指定的计算机的SPSystemPerformanceCounterMonitor类的新实例。

页首

属性

  名称 说明
公共属性 Category 获取显示器的类别 (有时称为"性能对象")。
公共属性 Computer 获取正被监视的计算机的名称。 (覆盖 SPSystemPerformanceMonitor.Computer。)
公共属性 Counter 获取由SPSystemPerformanceCounterMonitor对象正在监视的计数器的名称。
公共属性 CounterError 如果读取基础计数器读取Value属性的最后一次尝试失败,则获取错误消息。
公共属性 Description 获取显示器的说明。 (覆盖 SPSystemPerformanceMonitor.Description。)
公共属性 DiagnosticData 获取有关监视器的诊断数据。 (覆盖 SPSystemPerformanceMonitor.DiagnosticData。)
公共属性 Instance 获取由SPSystemPerformanceCounterMonitor对象正在监视的计数器实例的名称。
公共属性 LastValue 获取从基础计数器中读取的最后一个值的一个快照。 (覆盖 SPSystemPerformanceMonitor.LastValue。)
公共属性 Name 获取显示器的完整名称。 (覆盖 SPSystemPerformanceMonitor.Name。)
公共属性 Value 获取基础计数器的当前值。 (覆盖 SPSystemPerformanceMonitor.Value。)
公共属性 ValueIsExcessive 获取一个值,该值指示是否差到触发器限制运行状况分数正被监视的计数器。 (覆盖 SPSystemPerformanceMonitor.ValueIsExcessive。)

页首

方法

  名称 说明
公共方法 Equals 确定指定的对象是否等于当前的SPSystemPerformanceCounterMonitor对象。 (覆盖 Object.Equals(Object)。)
受保护的方法 Finalize (从 Object 继承。)
公共方法 GetHashCode 获取对象的哈希代码。 (覆盖 Object.GetHashCode()。)
公共方法 GetType (从 Object 继承。)
受保护的方法 MemberwiseClone (从 Object 继承。)
公共方法 RenderValueForWeb 插入到 Web 页以 HTML 格式字符串的形式获取的Value属性。 (覆盖 SPSystemPerformanceMonitor.RenderValueForWeb()。)
公共方法 ToString 返回表示当前对象SPSystemPerformanceCounterMonitorString 。 (覆盖 Object.ToString()。)

页首

另请参阅

引用

SPSystemPerformanceCounterMonitor 类

Microsoft.SharePoint.Utilities 命名空间