Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Reporting Namespace / IPageViewRepository Interface / GetViewsByCategoryCount Method / GetViewsByCategoryCount(DateTime,DateTime) Method
The starting date of the date range.
The ending date of the date range.
Version
GetViewsByCategoryCount(DateTime,DateTime) Method
Gets the number of results in GetViewsByCategory method
Syntax
int GetViewsByCategoryCount( 
   DateTime startDate,
   DateTime endDate
)

Parameters

startDate
The starting date of the date range.
endDate
The ending date of the date range.

Return Value

Number of results in GetViewsByCategory method
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also