Compartilhar via


SPSystemPerformanceCounterMonitor Members

Include Protected Members
Include Inherited Members

Represents a monitor for the value of a specific system performance counter.

The SPSystemPerformanceCounterMonitor type exposes the following members.

Constructors

  Name Description
Public method SPSystemPerformanceCounterMonitor(SPPerformanceMonitorCreationData) Initializes a new instance of the SPSystemPerformanceCounterMonitor class for the local computer by using values from an object that was persisted in the SharePoint Foundation database.
Public method SPSystemPerformanceCounterMonitor(String, String) Initializes a new instance of the SPSystemPerformanceCounterMonitor class for the local computer by using the specified category and counter names.
Public method SPSystemPerformanceCounterMonitor(String, String, String) Initializes a new instance of the SPSystemPerformanceCounterMonitor class for the local computer by using the specified category, counter, and instance names.
Public method SPSystemPerformanceCounterMonitor(String, String, String, SPSystemPerformanceCounterRelativeInstance) Initializes a new instance of the SPSystemPerformanceCounterMonitor class for the specified computer by using the specified category and counter names, and by using the specified instance naming hint.
Public method SPSystemPerformanceCounterMonitor(String, String, String, String) Initializes a new instance of the SPSystemPerformanceCounterMonitor class for the specified computer by using the specified category, counter, and instance names.

Top

Properties

  Name Description
Public property Category Gets the category (sometimes called the “performance object”) of the monitor.
Public property Computer Gets the name of the computer that is being monitored. (Overrides SPSystemPerformanceMonitor.Computer.)
Public property Counter Gets the name of the counter that is watched by the SPSystemPerformanceCounterMonitor object.
Public property CounterError Gets the error message if the last attempt to read the Value property failed to read the underlying counter.
Public property Description Gets a description of the monitor. (Overrides SPSystemPerformanceMonitor.Description.)
Public property DiagnosticData Gets diagnostic data about the monitor. (Overrides SPSystemPerformanceMonitor.DiagnosticData.)
Public property Instance Gets the name of the instance of the counter that is being watched by by the SPSystemPerformanceCounterMonitor object.
Public property LastValue Gets a snapshot of the last value read from the underlying counter. (Overrides SPSystemPerformanceMonitor.LastValue.)
Public property Name Gets the full name of the monitor. (Overrides SPSystemPerformanceMonitor.Name.)
Public property Value Gets the current value of the underlying counter. (Overrides SPSystemPerformanceMonitor.Value.)
Public property ValueIsExcessive Gets a value that indicates whether the health score of the counter that is being monitored is poor enough to trigger throttling. (Overrides SPSystemPerformanceMonitor.ValueIsExcessive.)

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current SPSystemPerformanceCounterMonitor object. (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Gets a hash code for the object. (Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method RenderValueForWeb Gets the Value property as an HTML-formatted string for insertion into a Web page. (Overrides SPSystemPerformanceMonitor.RenderValueForWeb().)
Public method ToString Returns a String that represents the current SPSystemPerformanceCounterMonitor object. (Overrides Object.ToString().)

Top

See Also

Reference

SPSystemPerformanceCounterMonitor Class

Microsoft.SharePoint.Utilities Namespace