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)
Syntax
'Declaration
Public Overrides Sub Unprovision ( _
deleteData As Boolean _
)
'Usage
Dim instance As SearchServiceApplication
Dim deleteData As Boolean
instance.Unprovision(deleteData)
public override void Unprovision(
bool deleteData
)
Parameters
deleteData
Type: System.Booleantrue to delete data associated with the application; otherwise, false.
Remarks
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.
See Also
Reference
SearchServiceApplication Class