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
- searchClause
Type: System.Xml..::.XmlElement
XML text containing the search criteria.
- searchOptions
Type: Microsoft.CommerceServer..::.SearchOptions
A SearchOptions containing the search options.
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
- 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.