Share via


DoSearchPurchaseOrders Method

Returns a DataSet containing purchase orders that match specified search criteria.

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

Syntax

'Declaration
Protected Function DoSearchPurchaseOrders ( _
    searchClause As XmlElement, _
    searchOptions As SearchOptions _
) As DataSet
'Usage
Dim searchClause As XmlElement
Dim searchOptions As SearchOptions
Dim returnValue As DataSet

returnValue = Me.DoSearchPurchaseOrders(searchClause, _
    searchOptions)
protected DataSet DoSearchPurchaseOrders(
    XmlElement searchClause,
    SearchOptions searchOptions
)
protected:
DataSet^ DoSearchPurchaseOrders(
    XmlElement^ searchClause, 
    SearchOptions^ searchOptions
)
protected function DoSearchPurchaseOrders(
    searchClause : XmlElement, 
    searchOptions : SearchOptions
) : DataSet

Parameters

Return Value

Type: System.Data..::.DataSet
Returns a DataSet containing all purchase orders that match the specified search criteria.

Remarks

The DataSet contains just the top level properties from the PurchaseOrder class. It contains a data table named PurchaseOrder with columns named as the properties to return. The DataSet does not necessarily contain all the records that match the criteria. It is populated only with the pages defined by the searchOptions parameter.

Permissions

See Also

Reference

OrderServices Class

OrderServices Members

Microsoft.CommerceServer.Orders Namespace