_CatalogSets::DeleteCatalogSet
Use this method to delete an existing catalog set from the Catalog database.
Definition
HRESULT _CatalogSets::DeleteCatalogSet(BSTRCatalogSetID);
Parameters
CatalogSetID
[in] A BSTR that contains the GUID of the catalog set to be deleted.
Return Values
This method returns an HRESULT indicating whether it completed successfully. See the Error Values section for more details.
Error Values
This method returns S_OK (0x00000000) to indicate success and standard COM HRESULT 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, which can be accessed using the API function GetErrorInfo. In particular, the GetDescription method of the IErrorInfo interface may return 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.