SearchServiceApplication.Unprovision method (Boolean)

Unprovisions the SearchServiceApplication and optionally deletes data associated with the application.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

public override void Unprovision(
	bool deleteData


Type: System.Boolean

true to delete data associated with the application; otherwise, false.

This method unprovisions the current SearchServiceApplication and deletes the associated topologies and components. If the deleteData parameter is true, this method also deletes all of the associated query and crawl data.