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.Boolean

    true to remove the IIS Web sites; otherwise, false.

See also

Reference

SPWebApplication class

SPWebApplication members

UnprovisionGlobally overload

Microsoft.SharePoint.Administration namespace