Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Search Namespace / ISearchHistoryRepository Interface / CountForUser Method / CountForUser(User) Method
The given user
In This Topic
    CountForUser(User) Method
    In This Topic
    Counts the number of SearchHistory objects for the given user in the database.
    Syntax
    int CountForUser( 
       User user
    )

    Parameters

    user
    The given user

    Return Value

    The Number of SearchHistory objects for the given user in the database.
    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