SPWebApplication.Unprovision method (Boolean)
SharePoint 2013
Unprovisions the Web application and optionally removes the application from all local Internet Information Services (IIS) Web sites.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Parameters
- deleteWebSites
- Type: System.Boolean
true to remove the Web application from all local IIS Web sites; otherwise, false.