Jaa


SearchBaskets Method

Returns a DataSet containing baskets that match a supplied search criteria with options.

Namespace:  Microsoft.CommerceServer.Orders.WebService
Assembly:  Microsoft.CommerceServer.Orders.DataManagement (in Microsoft.CommerceServer.Orders.DataManagement.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Overridable Function SearchBaskets ( _
    searchClause As XmlElement, _
    searchOptions As SearchOptions _
) As DataSet
'Usage
Dim instance As OrdersWebService
Dim searchClause As XmlElement
Dim searchOptions As SearchOptions
Dim returnValue As DataSet

returnValue = instance.SearchBaskets(searchClause, _
    searchOptions)
[WebMethodAttribute]
public virtual DataSet SearchBaskets(
    XmlElement searchClause,
    SearchOptions searchOptions
)
[WebMethodAttribute]
public:
virtual DataSet^ SearchBaskets(
    XmlElement^ searchClause, 
    SearchOptions^ searchOptions
)
public function SearchBaskets(
    searchClause : XmlElement, 
    searchOptions : SearchOptions
) : DataSet

Parameters

Return Value

Type: System.Data..::.DataSet
The DataSet containing the baskets that match the search clause.

Remarks

The returned DataSet contains just the top level properties from Basket class. It contains a DataTable 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 the user asks for using the search options.

In order to perform a SearchBaskets, the user must have the OrdersViewer permissions. See Orders System Roles [CS06] for more information about the specific roles in the Order System.

Permissions

See Also

Reference

OrdersWebService Class

OrdersWebService Members

Microsoft.CommerceServer.Orders.WebService Namespace