Click or drag to resize
CMSPerformanceCounterGetValue Method
Gets value of global or site counter. If the parameter siteName is null, get global counter value.

Namespace: CMS.HealthMonitoring
Assembly: CMS.HealthMonitoring (in CMS.HealthMonitoring.dll) Version: 9.0.0
Syntax
C#
public long GetValue(
	string siteName,
	bool updateLastLog = false
)

Parameters

siteName
Type: SystemString
Site name
updateLastLog (Optional)
Type: SystemBoolean
Indicates if date time of last log value should be updated.

Return Value

Type: Int64

Implements

IPerformanceCounterGetValue(String, Boolean)
See Also