Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / ProductReviewRepository Class / GetSearchCriteria Method / GetSearchCriteria(Int32,BitFieldState,DateTime,DateTime,String,String,String,Int32,Int32) Method
The id of the product to filter with.
Indicates whether approved, unapproved,or all reviews are desired.
Date Start to filter with.
Date End to filter with.
Keyword to filter using the review body.
Author's email filter.
The sort expression.
The maximum number of rows to return.
The index to start returning rows from.
In This Topic
    GetSearchCriteria(Int32,BitFieldState,DateTime,DateTime,String,String,String,Int32,Int32) Method
    In This Topic
    Generates a criteria for searching product reviews.
    Syntax

    Parameters

    productId
    The id of the product to filter with.
    approved
    Indicates whether approved, unapproved,or all reviews are desired.
    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.
    sortExpression
    The sort expression.
    maximumRows
    The maximum number of rows to return.
    startRowIndex
    The index to start returning rows from.

    Return Value

    A search criteria for product reviews.
    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