DeletePurchaseOrdersById Method

Deletes the PurchaseOrder objects from the database as specified by the group identifiers. 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 DeletePurchaseOrdersById ( _
    orderGroupIDs As Guid(), _
    <OutAttribute> ByRef recordsDeleted As Integer _
)
'Usage
Dim instance As OrdersWebService
Dim orderGroupIDs As Guid()
Dim recordsDeleted As Integer

instance.DeletePurchaseOrdersById(orderGroupIDs, _
    recordsDeleted)
[WebMethodAttribute]
public virtual void DeletePurchaseOrdersById(
    Guid[] orderGroupIDs,
    out int recordsDeleted
)
[WebMethodAttribute]
public:
virtual void DeletePurchaseOrdersById(
    array<Guid>^ orderGroupIDs, 
    [OutAttribute] int% recordsDeleted
)
public function DeletePurchaseOrdersById(
    orderGroupIDs : Guid[], 
    recordsDeleted : int
)

Parameters

  • orderGroupIDs
    Type: array<System..::.Guid>[]()[]
    Array of OrderGroupIds to delete.
  • recordsDeleted
    Type: System..::.Int32%
    The number of purchase orders that were deleted.

Remarks

Deletes all purchase orders that are identified by the orderGroupIDs and supplies a count of the number of baskets deleted.

Permissions

See Also

Reference

OrdersWebService Class

OrdersWebService Members

Microsoft.CommerceServer.Orders.WebService Namespace