Share via


CatalogSets.DeleteCatalogSet

Ee810751.c++_on(en-US,CS.10).gifEe810751.vb_off(en-US,CS.10).gif

Use this method to delete an existing catalog set from the Catalog database.

Definition

Sub DeleteCatalogSet(CatalogSetID As String)

Parameters

CatalogSetID

A String that contains the ID of the catalog set 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

Deleting a catalog set does not delete the catalog set ID. Referencing an invalid catalog set ID will prevent access to the solution sites.

For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.

Example

'strCatalogSetID1 is a GUID
myCatalogSets.DeleteCatalogSet strCatalogSetID1

See Also

CatalogSets Object


All rights reserved.