ProductCatalog.DeleteCustomCatalog
Use this method to delete a custom catalog from the Product Catalog System.
Definition
Sub DeleteCustomCatalog(strCCName As String)
Parameters
strCCName
A String that contains the name of the custom catalog to be deleted.
Return Values
None.
Error Values
This method sets the Number property of the global Err object to S_OK (&H00000000) to indicate success and to standard COM error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object. In particular, the Description property may contain a text description of the error.
Remarks
All data relating to the custom catalog will be deleted. If the custom catalog was generated, then the generated catalog will also be deleted.
Example
myProductCatalog.DeleteCustomCatalog "SeniorDiscountCatalog"
See Also
ProductCatalog.CreateCustomCatalog