HitsInfoProviderGetObjectHitCount Method |
Returns all HitsInfo records for the specified object.
Site IDObject IDHits interval (hour, day, week, year)Statistics type (pageviews, downloads...)Start of time interval (e.g. 01/01/2008)End of time interval (e.q. 12/31/2008)
Namespace: CMS.WebAnalyticsAssembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 13.0.131
Syntaxpublic static int GetObjectHitCount(
int siteId,
int objectId,
HitsIntervalEnum interval,
string codeName,
DateTime timeBegin,
DateTime timeEnd
)
Parameters
- siteId
- Type: SystemInt32
- objectId
- Type: SystemInt32
- interval
- Type: CMS.WebAnalyticsHitsIntervalEnum
- codeName
- Type: SystemString
- timeBegin
- Type: SystemDateTime
- timeEnd
- Type: SystemDateTime
Return Value
Type:
Int32
See Also