Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Search Namespace / KeywordSearchHelper Class / ParseKeywordCriterion Method
The keyword(s) to search. Multiple keywords can be delimited by spaces.
The column(s) to search.
In This Topic
    ParseKeywordCriterion Method
    In This Topic
    Returns the criterion for keyword searching string suitable for use in a WHERE clause on SQL servers that do not have FTS capabilities.
    Syntax
    public static KeywordCriterion ParseKeywordCriterion( 
       string searchPhrase,
       string[] columns
    )

    Parameters

    searchPhrase
    The keyword(s) to search. Multiple keywords can be delimited by spaces.
    columns
    The column(s) to search.

    Return Value

    A criteria string for use in a WHERE clause.
    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