次の方法で共有


SPMetabaseManager.UnprovisionAllIisVirtualDirectories method

NOTE: This API is now obsolete.

Obsolete. Use the Application class instead.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<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 _
)
'Usage
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
)

Parameters

  • exceptions
    Type: []

See also

Reference

SPMetabaseManager class

SPMetabaseManager members

Microsoft.SharePoint.Administration namespace