Click or drag to resize
CMSPerformanceCounter Class
Performance counter.
Inheritance Hierarchy
SystemObject
  CMS.HealthMonitoringCMSPerformanceCounter

Namespace: CMS.HealthMonitoring
Assembly: CMS.HealthMonitoring (in CMS.HealthMonitoring.dll) Version: 9.0.0
Syntax
C#
public class CMSPerformanceCounter : IPerformanceCounter

The CMSPerformanceCounter type exposes the following members.

Constructors
  NameDescription
Public methodCMSPerformanceCounter
Top
Properties
  NameDescription
Protected propertyLastLogs
Time of last log.
Public propertySites
Gets collection of sites name.
Protected propertySitesCounters
Gets sites counters (key - site name).
Top
Methods
  NameDescription
Public methodClear
Clears global and sites counters.
Public methodClearLastLog
Clears last log date time.
Public methodDecrement
Decrements global and site counter. If the parameter siteName is null, decrements only global counter.
Public methodGetLastLog
Gets time of last log.
Public methodGetValue
Gets value of global or site counter. If the parameter siteName is null, get global counter value.
Public methodIncrement
Increments global and site counter. If the parameter siteName is null, increments only global counter.
Public methodReset
Resets global and sites values.
Public methodSetValue
Sets raw value of global or site counter. If the parameter siteName is null, sets global counter.
Top
See Also