Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / IProductReviewRepository Interface / SearchCount Method / SearchCount(DateTime,DateTime,String,String,Int32,BitFieldState) Method
Date Start to filter with.
Date End to filter with.
Keyword to filter using the review body.
Author's email filter.
Id of the product to count reviews for
Approval state of the reviews to include in the count
In This Topic
    SearchCount(DateTime,DateTime,String,String,Int32,BitFieldState) Method
    In This Topic
    Counts the number of product reviews matching the given criteria
    Syntax

    Parameters

    dateStart
    Date Start to filter with.
    dateEnd
    Date End to filter with.
    keyword
    Keyword to filter using the review body.
    email
    Author's email filter.
    productId
    Id of the product to count reviews for
    approved
    Approval state of the reviews to include in the count

    Return Value

    The number of product reviews matching the given criteria
    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