SPWebApplication.UnprovisionGlobally method (Boolean)
Removes the Web application from all front-end Web servers and optionally removes the Internet Information Services (IIS) Web sites.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub UnprovisionGlobally ( _
deleteIisWebSite As Boolean _
)
'Usage
Dim instance As SPWebApplication
Dim deleteIisWebSite As Boolean
instance.UnprovisionGlobally(deleteIisWebSite)
public void UnprovisionGlobally(
bool deleteIisWebSite
)
Parameters
deleteIisWebSite
Type: System.Booleantrue to remove the IIS Web sites; otherwise, false.