Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Services Namespace / MaintenanceWorker Class / CountSearchHistorRecords Method
Records older than this date are counted
In This Topic
    CountSearchHistorRecords Method
    In This Topic
    Counts the number of records in the user search history log that occurred prior to the specified date
    Syntax
    protected int CountSearchHistorRecords( 
       DateTime beforeDate
    )

    Parameters

    beforeDate
    Records older than this date are counted

    Return Value

    The number of records in the pageuser search history log that occured prior to the specified date
    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