Removing a Catalog
Indexing Service is no longer supported as of Windows XP and is unavailable for use as of Windows 8. Instead, use Windows Search for client side search and Microsoft Search Server Express for server side search.
This code segment uses the RemoveCatalog method of the gCiAdmin AdminIndexServer object to remove the catalog. The RemoveCatalogMethod procedure is called whenever the option to remove the catalog is selected on the form.
Private Sub RemoveCatalogMethod() ISAdminForm.gCiAdmin.RemoveCatalog Tag, True ... End Sub