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
- serverComment
Type: System.String
- virtualPath
Type: System.String
- exceptions
Type: []
- removeApplicationPools
Type: System.Boolean