OrderGroupManager.DeleteOrderGroupFromDisk Method (PIA)
Use this method to check whether a connection to the database has been established for the specified OrderGroup object, and then delete the OrderGroup object and all objects contained within it from the database. Use this method for OrderGroup objects saved as baskets and templates.
Definition
[Visual Basic .NET]
Imports Microsoft.CommerceServer.Interop.Orders
…
Public Sub DeleteOrderGroupFromDisk(OrderGroupID As String)
[C#]
using Microsoft.CommerceServer.Interop.Orders;
…
public void DeleteOrderGroupFromDisk(stringOrderGroupID);
Parameters
[Visual Basic .NET]
- OrderGroupID
A String that contains the OrderGroup ID.
[C#]
- OrderGroupID
A string that contains the OrderGroup ID.
Exceptions
This method may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.
[Visual Basic .NET]
Example
' sOrderGroupID is a string containing a valid OrderGroupID
' oOrderGroupManager is a Commerce OrderGroupManager object
oOrderGroupManager.DeleteOrderGroupFromDisk(sOrderGroupID)
Requirements
Namespace: Microsoft.CommerceServer.Interop.Orders
Platforms: Windows 2000, Windows Server 2003
Assembly: Microsoft.CommerceServer.Interop.Orders.Requisition.dll
See Also
Copyright © 2005 Microsoft Corporation.
All rights reserved.