다음을 통해 공유


DoDeletePurchaseOrdersById Method

Deletes a group of purchase orders from the database that match the supplied identifiers. 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 DoDeletePurchaseOrdersById ( _
    orderGroupIDs As Guid(), _
    <OutAttribute> ByRef recordsDeleted As Integer _
)
'Usage
Dim orderGroupIDs As Guid()
Dim recordsDeleted As Integer

Me.DoDeletePurchaseOrdersById(orderGroupIDs, _
    recordsDeleted)
protected void DoDeletePurchaseOrdersById(
    Guid[] orderGroupIDs,
    out int recordsDeleted
)
protected:
void DoDeletePurchaseOrdersById(
    array<Guid>^ orderGroupIDs, 
    [OutAttribute] int% recordsDeleted
)
protected function DoDeletePurchaseOrdersById(
    orderGroupIDs : Guid[], 
    recordsDeleted : int
)

Parameters

  • orderGroupIDs
    Type: array<System..::.Guid>[]()[]
    An array of order group IDs.
  • recordsDeleted
    Type: System..::.Int32%
    Returns the number of records that match the search criteria.

Remarks

Deletes purchase orders from the database that match the supplied identifiers and supplies a count of the number of purchase orders deleted.

Permissions

See Also

Reference

OrderServices Class

OrderServices Members

Microsoft.CommerceServer.Orders Namespace