Share via


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)
Available in Sandboxed Solutions: No

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