SPSystemPerformanceCounterMonitor members
Represents a monitor for the value of a specific system performance counter.
The SPSystemPerformanceCounterMonitor type exposes the following members.
Constructors
Name | Description | |
---|---|---|
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. | |
SPSystemPerformanceCounterMonitor(String, String) | Initializes a new instance of the SPSystemPerformanceCounterMonitor class for the local computer by using the specified category and counter names. | |
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. | |
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. | |
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 | |
---|---|---|
Category | Gets the category (sometimes called the “performance object”) of the monitor. | |
Computer | Gets the name of the computer that is being monitored. (Overrides SPSystemPerformanceMonitor.Computer.) | |
Counter | Gets the name of the counter that is watched by the SPSystemPerformanceCounterMonitor object. | |
CounterError | Gets the error message if the last attempt to read the Value property failed to read the underlying counter. | |
Description | Gets a description of the monitor. (Overrides SPSystemPerformanceMonitor.Description.) | |
DiagnosticData | Gets diagnostic data about the monitor. (Overrides SPSystemPerformanceMonitor.DiagnosticData.) | |
Instance | Gets the name of the instance of the counter that is being watched by by the SPSystemPerformanceCounterMonitor object. | |
LastValue | Gets a snapshot of the last value read from the underlying counter. (Overrides SPSystemPerformanceMonitor.LastValue.) | |
Name | Gets the full name of the monitor. (Overrides SPSystemPerformanceMonitor.Name.) | |
Value | Gets the current value of the underlying counter. (Overrides SPSystemPerformanceMonitor.Value.) | |
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 | |
---|---|---|
Equals | Determines whether the specified object is equal to the current SPSystemPerformanceCounterMonitor object. (Overrides Object.Equals(Object).) | |
Finalize | (Inherited from Object.) | |
GetHashCode | Gets a hash code for the object. (Overrides Object.GetHashCode().) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
RenderValueForWeb | Gets the Value property as an HTML-formatted string for insertion into a Web page. (Overrides SPSystemPerformanceMonitor.RenderValueForWeb().) | |
ToString | Returns a String that represents the current SPSystemPerformanceCounterMonitor object. (Overrides Object.ToString().) |
Top