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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.