AppEnable

You can use the AppEnable method of the IIsWebDirectory or IIsWebVirtualDir object to reinstate a Web application definition that was previously disabled with the AppDisable method. If the application specified was not previously deleted, it will be reregistered with Component Services.

Syntax

DirObj.AppEnable

 

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. 
  DirObj.AppEnable 
%> 
 
See Also

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