Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Reporting Namespace / IPageViewRepository Interface / GetViewsByBrowser Method / GetViewsByBrowser(DateTime,DateTime,Int32,Int32,String) Method
The starting date of the date range.
The ending date of the date range.
The maximum number of data rows that should be returned.
The starting position that should be used when retrieving data rows.
The expression that is used to sort the data retrieved.
In This Topic
    GetViewsByBrowser(DateTime,DateTime,Int32,Int32,String) Method
    In This Topic
    Loads a collection of browsers and it's number of views, as a key value pair.
    Syntax

    Parameters

    startDate
    The starting date of the date range.
    endDate
    The ending date of the date range.
    maximumRows
    The maximum number of data rows that should be returned.
    startRowIndex
    The starting position that should be used when retrieving data rows.
    sortExpression
    The expression that is used to sort the data retrieved.

    Return Value

    Collection of Key Value pairs where the key is the UserAgent (browser) and the value is the number of views for the browser.
    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