SPWebApplication.Unprovision Method
Unprovisions the Web application and removes it from all local Internet Information Services (IIS) Web sites.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overrides Sub Unprovision
'Usage
Dim instance As SPWebApplication
instance.Unprovision()
public override void Unprovision()