Share via


GetSearchClauseFactory Method

Creates a new search clause builder for searching PurchaseOrder 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 PurchaseOrderManager
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 OrderSearchClauseFactory that can be converted to a search clause.

Remarks

Creates a new OrderSearchClauseFactory object for objects of PurchaseOrder.

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

This method returns a OrderSearchClauseFactory that can be used to create a search clause used to search for purchase orders.

Permissions

See Also

Reference

PurchaseOrderManager Class

PurchaseOrderManager Members

Microsoft.CommerceServer.Orders Namespace