Purge Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Purges all the deleted items, including deleted inventory catalogs. deleted product catalog mappings and deleted inventory SKUs.

Namespace:  Microsoft.CommerceServer.Inventory
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Sub Purge
'Usage
Dim instance As InventoryContext

instance.Purge()
public void Purge()
public:
void Purge()
public function Purge()

Remarks

Purges inventory information. Use this method to remove deleted records from the catalog.

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. Use the Purge method to remove the marked products from the database.

Permissions

See Also

Reference

InventoryContext Class

InventoryContext Members

Purge Overload

Microsoft.CommerceServer.Inventory Namespace