다음을 통해 공유


PurgeDeletedItems Method

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

Purges the deleted catalogs, products and variants from the catalog system for this catalog.

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

Syntax

'Declaration
Public Overridable Sub PurgeDeletedItems
'Usage
Dim instance As ProductCatalog

instance.PurgeDeletedItems()
public virtual void PurgeDeletedItems()
public:
virtual void PurgeDeletedItems()
public function PurgeDeletedItems()

Exceptions

Exception Condition
NotAuthorizedException

The caller is not authorized to perform this operation.

Remarks

When a category, product or a variant is deleted from the catalog system the catalog system stores some information about these deleted items to support exporting deleted catalog items. You can use this method to physically delete this information from the catalog system.

Permissions

See Also

Reference

ProductCatalog Class

ProductCatalog Members

Microsoft.CommerceServer.Catalog Namespace