DoSearchBaskets Method
Returns a DataSet containing all baskets that match the specified search criteria.
Namespace: Microsoft.CommerceServer.Orders
Assembly: Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)
Syntax
'Declaration
Protected Function DoSearchBaskets ( _
searchClause As XmlElement, _
searchOptions As SearchOptions _
) As DataSet
'Usage
Dim searchClause As XmlElement
Dim searchOptions As SearchOptions
Dim returnValue As DataSet
returnValue = Me.DoSearchBaskets(searchClause, _
searchOptions)
protected DataSet DoSearchBaskets(
XmlElement searchClause,
SearchOptions searchOptions
)
protected:
DataSet^ DoSearchBaskets(
XmlElement^ searchClause,
SearchOptions^ searchOptions
)
protected function DoSearchBaskets(
searchClause : XmlElement,
searchOptions : SearchOptions
) : DataSet
Parameters
- searchClause
Type: System.Xml..::.XmlElement
XML text representing the search criteria.
- searchOptions
Type: Microsoft.CommerceServer..::.SearchOptions
A SearchOptions that contains options for this search.
Return Value
Type: System.Data..::.DataSet
Returns a DataSet containing all baskets that match the specified search criteria.
Remarks
The DataSet contains just the top level properties from the Basket class. It contains a data table named Basket with columns named as properties to return. The DataSet does not contain all the records that match the criteria. It is populated with the pages specified 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.