Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Search Namespace / SearchDataSource Class / SearchWebsite Method
The search phrase.
The id of category to search for the search phrase.
The sort expression to use for sorting the loaded objects.
Maximum number of rows to retrieve.
Starting index from where to start retrieving.
In This Topic
    SearchWebsite Method (SearchDataSource)
    In This Topic
    Searches the website.
    Syntax

    Parameters

    searchPhrase
    The search phrase.
    categoryId
    The id of category to search for the search phrase.
    sortExpression
    The sort expression to use for sorting the loaded objects.
    maximumRows
    Maximum number of rows to retrieve.
    startRowIndex
    Starting index from where to start retrieving.

    Return Value

    Search restuls for given search query.
    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