AppUnloadRecursive

You can use the AppUnloadRecursive method of the IIsWebVirtualDir object to unload Web applications that are running out-of-process. The applications at the specified key and at all subordinate keys will be unloaded. All of the application resources are released and the application processes are terminated. If the application is running in-process, the application is released if it is not being referenced by any other applications.

Syntax

IIsWebVirtualDir.AppUnloadRecursive 
 

Code Example

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

See Also

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