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
- searchableEntities
Type: System.Data..::.DataSet
A DataSet describing the entities that can be searched in the Purchase orders system, retrieved from the GetSearchableProperties method.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.