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
- searchClause
Type: System.Xml..::.XmlElement
XML text representing the search criteria.
- 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
- 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.