Click or drag to resize
IPerformanceCounter Interface
Interface for a performance counter

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 8.2.23
Syntax
C#
public interface IPerformanceCounter

The IPerformanceCounter type exposes the following members.

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
Properties
  NameDescription
Public propertySites
Gets collection of sites name.
Top
See Also