SPWebApplication.Delete method

Removes the Web application and some of the resources that it owns.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

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

instance.Delete()
Show: