SPMetabaseManager.UnprovisionAllIisVirtualDirectories 方法
请注意:此 API 现在已过时。
过时。而是使用Application类。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<ObsoleteAttribute("Obsoleted by the Microsoft.Web.Administration.Application class.")> _
Public Shared Sub UnprovisionAllIisVirtualDirectories ( _
serverComment As String, _
virtualPath As String, _
exceptions As String(), _
removeApplicationPools As Boolean _
)
用法
Dim serverComment As String
Dim virtualPath As String
Dim exceptions As String()
Dim removeApplicationPools As BooleanSPMetabaseManager.UnprovisionAllIisVirtualDirectories(serverComment, _
virtualPath, exceptions, removeApplicationPools)
[ObsoleteAttribute("Obsoleted by the Microsoft.Web.Administration.Application class.")]
public static void UnprovisionAllIisVirtualDirectories(
string serverComment,
string virtualPath,
string[] exceptions,
bool removeApplicationPools
)
参数
- serverComment
类型:System.String
- virtualPath
类型:System.String
- exceptions
类型:[]
- removeApplicationPools
类型:System.Boolean