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)

'Declaration
Public Overrides Sub Unprovision
'Usage
Dim instance As SPWebApplication

instance.Unprovision()
Show: