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.

See also

Reference

CrawlStore class

CrawlStore members

Microsoft.Office.Server.Search.Administration namespace