DoDeletePurchaseOrders Method

Deletes the purchase orders from the database that satisfy the specified search criteria. The number of deleted records is available.

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

Syntax

'Declaration
Protected Sub DoDeletePurchaseOrders ( _
    searchClause As XmlElement, _
    <OutAttribute> ByRef recordsDeleted As Integer _
)
'Usage
Dim searchClause As XmlElement
Dim recordsDeleted As Integer

Me.DoDeletePurchaseOrders(searchClause, _
    recordsDeleted)
protected void DoDeletePurchaseOrders(
    XmlElement searchClause,
    out int recordsDeleted
)
protected:
void DoDeletePurchaseOrders(
    XmlElement^ searchClause, 
    [OutAttribute] int% recordsDeleted
)
protected function DoDeletePurchaseOrders(
    searchClause : XmlElement, 
    recordsDeleted : int
)

Parameters

  • recordsDeleted
    Type: System..::.Int32%
    Returns the number of records that match the search criteria.

Remarks

Deletes purchase orders from the database that satisfy the specified search criteria and supplies a count of the number of purchase orders deleted.

Permissions

See Also

Reference

OrderServices Class

OrderServices Members

Microsoft.CommerceServer.Orders Namespace