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

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 8.2.23
Syntax
C#
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
See Also