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
)

参数

  • exceptions
    类型:[]

另请参阅

引用

SPMetabaseManager 类

SPMetabaseManager 成员

Microsoft.SharePoint.Administration 命名空间