CrawlStore.Delete Method
Removes the crawl database from the Search service application.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub Delete
'Usage
Dim instance As CrawlStore
instance.Delete()
public void Delete()
Remarks
Before you can delete a crawl database, you must first remove any associations with any crawl components either by removing the crawl components or by assigning them to a different crawl database. If any crawl components are currently associated with the crawl database, a InvalidOperationException will occur.