Share via


GetSearchClauseFactory Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Creates a new search clause builder for searching BasketManager objects.

Namespace:  Microsoft.CommerceServer.Orders
Assembly:  Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)

Syntax

'Declaration
Public Function GetSearchClauseFactory ( _
    searchableEntities As DataSet, _
    entityToLookIn As String _
) As SearchClauseFactory
'Usage
Dim instance As BasketManager
Dim searchableEntities As DataSet
Dim entityToLookIn As String
Dim returnValue As SearchClauseFactory

returnValue = instance.GetSearchClauseFactory(searchableEntities, _
    entityToLookIn)
public SearchClauseFactory GetSearchClauseFactory(
    DataSet searchableEntities,
    string entityToLookIn
)
public:
SearchClauseFactory^ GetSearchClauseFactory(
    DataSet^ searchableEntities, 
    String^ entityToLookIn
)
public function GetSearchClauseFactory(
    searchableEntities : DataSet, 
    entityToLookIn : String
) : SearchClauseFactory

Parameters

  • entityToLookIn
    Type: System..::.String
    The name of the type of entity to search. The entity must exist in searchableEntities for the search to succeed.

Return Value

Type: Microsoft.CommerceServer..::.SearchClauseFactory
A SearchClauseFactory that can be converted to a search clause.

Remarks

Creates a new SearchClauseFactory object for objects of BasketManager.

The returned SearchClauseFactory allows you to filter sub-system searches.

This method returns a SearchClauseFactory that can be used to create a search clause used to search for baskets.

Permissions

See Also

Reference

BasketManager Class

BasketManager Members

Microsoft.CommerceServer.Orders Namespace