AppEnableRecursive

You can use the AppEnableRecursive method of the IIsWebDirectory or IIsWebVirtualDir object to reinstate Web application definitions that were previously disabled with the AppDisableRecursive method. If the applications specified were not previously deleted, they will be reregistered with Component Services.

Syntax

DirObj.AppEnableRecursive

 

Parameters
DirObj
An IIS Admin Object of type IIsWebDirectory or IIsWebVirtualDir.
Code Example
<% 
  Dim DirObj 
  Set DirObj = GetObject("IIS://LocalHost/W3SVC/1/ROOT/MyAppDir") 
  'Enable the application at this directory 
  'and at all subdirectories. 
  DirObj.AppEnableRecursive 
%> 
 
See Also

AppCreate, AppDelete, AppDeleteRecursive, AppUnload, AppUnloadRecursive, AppGetStatus, AppDisable, AppDisableRecursive, AppEnable, AspAppRestart