SPMetabaseManager.UnprovisionIisWebSite 方法
请注意:此 API 现在已过时。
过时。而是使用Site类。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<ObsoleteAttribute("Obsoleted by the Microsoft.Web.Administration.Site class.")> _
Public Shared Sub UnprovisionIisWebSite ( _
serverComment As String, _
removeApplicationPools As Boolean _
)
用法
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
)
参数
- serverComment
类型:System.String
- removeApplicationPools
类型:System.Boolean