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: 10.0.0
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