CatalogSets.DeleteCatalogSet Method (PIA)
Use this method to delete an existing catalog set from the catalog database.
Definition
[Visual Basic .NET]
Imports Microsoft.CommerceServer.Interop.Catalog
…
Public Sub DeleteCatalogSet(CatalogSetID As String)
[C#]
using Microsoft.CommerceServer.Interop.Catalog;
…
public void DeleteCatalogSet(stringCatalogSetID);
Parameters
[Visual Basic .NET]
- CatalogSetID
A String that contains the ID of the catalog set to be deleted.
[C#]
- CatalogSetID
A string that contains the GUID of the catalog set to be deleted.
Exceptions
This method may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.
Remarks
Deleting a catalog set does not delete the catalog set ID. Referencing an invalid catalog set ID will prevent access to the solution sites.
[Visual Basic .NET]
Example
'strCatalogSetID1 is a GUID
myCatalogSets.DeleteCatalogSet(strCatalogSetID1)
Requirements
Namespace: Microsoft.CommerceServer.Interop.Catalog
Platforms: Windows 2000, Windows Server 2003
Assembly: cs_ctlgsets (in cs_ctlgsets.dll)
See Also
Copyright © 2005 Microsoft Corporation.
All rights reserved.