ProductCatalog3.Purge Method (PIA)
Use this method to remove deleted products, categories, and variants from the catalog.
Definition
[Visual Basic .NET]
Imports Microsoft.CommerceServer.Interop.Catalog
…
Public Sub Purge()
[C#]
using Microsoft.CommerceServer.Interop.Catalog;
…
public void Purge();
Exceptions
This method may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details. In addition, this method may throw ADO errors.
Remarks
Commerce Server 2002 uses a two-stage delete process. When items are deleted from a catalog they are not removed from the Product Catalog System. The product rows are moved from the catalog tables to a deleted products table. This allows deletions to be exported with other changes by using the DeleteExportXML method. Use the Purge method to remove the marked products from the database. The Purge method is not accessible through the user interface.
****Caution
- There is no method for recovering deleted products.
For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.
Requirements
Namespace: Microsoft.CommerceServer.Interop.Catalog
Platforms: Windows 2000, Windows Server 2003
Assembly: cataloglib (in cataloglib.dll)
See Also
Copyright © 2005 Microsoft Corporation.
All rights reserved.