다음을 통해 공유


DeletePurchaseOrders Method

Deletes the PurchaseOrder objects 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 DeletePurchaseOrders ( _
    searchClause As XmlElement, _
    <OutAttribute> ByRef recordsDeleted As Integer _
)
'Usage
Dim instance As OrdersWebService
Dim searchClause As XmlElement
Dim recordsDeleted As Integer

instance.DeletePurchaseOrders(searchClause, _
    recordsDeleted)
[WebMethodAttribute]
public virtual void DeletePurchaseOrders(
    XmlElement searchClause,
    out int recordsDeleted
)
[WebMethodAttribute]
public:
virtual void DeletePurchaseOrders(
    XmlElement^ searchClause, 
    [OutAttribute] int% recordsDeleted
)
public function DeletePurchaseOrders(
    searchClause : XmlElement, 
    recordsDeleted : int
)

Parameters

  • recordsDeleted
    Type: System..::.Int32%
    The number of purchase orders that were deleted.

Remarks

Deletes all purchase orders that match a supplied search clause and supplies a count of the number of purchase orders deleted.

Permissions

See Also

Reference

OrdersWebService Class

OrdersWebService Members

Microsoft.CommerceServer.Orders.WebService Namespace