DeleteBaskets Method
Deletes the Baskets from the database which satisfy the specified search criteria. The number of deleted records is available.
Namespace: Microsoft.CommerceServer.Orders.WebService
Assembly: Microsoft.CommerceServer.Orders.DataManagement (in Microsoft.CommerceServer.Orders.DataManagement.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Overridable Sub DeleteBaskets ( _
searchClause As XmlElement, _
<OutAttribute> ByRef recordsDeleted As Integer _
)
'Usage
Dim instance As OrdersWebService
Dim searchClause As XmlElement
Dim recordsDeleted As Integer
instance.DeleteBaskets(searchClause, _
recordsDeleted)
[WebMethodAttribute]
public virtual void DeleteBaskets(
XmlElement searchClause,
out int recordsDeleted
)
[WebMethodAttribute]
public:
virtual void DeleteBaskets(
XmlElement^ searchClause,
[OutAttribute] int% recordsDeleted
)
public function DeleteBaskets(
searchClause : XmlElement,
recordsDeleted : int
)
Parameters
- searchClause
Type: System.Xml..::.XmlElement
Xml blob representing the search criteria.
- recordsDeleted
Type: System..::.Int32%
The number of baskets that were deleted.
Remarks
Deletes all baskets that match a supplied search clause and supplies a count of the number of baskets deleted.
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.