SPMetabaseManager.UnprovisionIisWebSite Method
NOTE: This API is now obsolete.
Obsolete. Use the Site class instead.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<ObsoleteAttribute("Obsoleted by the Microsoft.Web.Administration.Site class.")> _
Public Shared Sub UnprovisionIisWebSite ( _
serverComment As String, _
removeApplicationPools As Boolean _
)
'Usage
Dim serverComment As String
Dim removeApplicationPools As BooleanSPMetabaseManager.UnprovisionIisWebSite(serverComment, _
removeApplicationPools)
[ObsoleteAttribute("Obsoleted by the Microsoft.Web.Administration.Site class.")]
public static void UnprovisionIisWebSite(
string serverComment,
bool removeApplicationPools
)
Parameters
- serverComment
Type: System.String
- removeApplicationPools
Type: System.Boolean