AppDeleteRecursive

You can use the AppDeleteRecursive method of the IIsWebVirtualDir object to delete Web application definitions from a metabase key and all subordinate keys. If the applications are running, they will be shut down. All resources associated with the applications, such as out-of-process packages, will be released. This action cannot be undone.

Syntax

IIsWebVirtualDir.AppDeleteRecursive 
 

Code Example

<% 
Dim VDirObj 
Set VDirObj = GetObject("IIS://LocalHost/W3SVC/1/ROOT/MyAppVDir") 
' Delete the application at this directory 
' and all subordinate directories 
VDirObj.AppDeleteRecursive 
%> 
 

See Also

AppCreate, AppDelete, AppUnload, AppUnloadRecursive, AppGetStatus, AppDisable, AppDisableRecursive, AppEnable, AppEnableRecursive