IIsWebDirectory.AppEnableRecursive (ADSI)

The AppEnableRecursive method enables a Web application and all of its child applications that were previously disabled with AppDisableRecursive.

objIIsWebDirectory.AppEnableRecursive 

Return Values

This method has no return values.

Example Code

<%  
  Dim DirObj  
  Set DirObj = GetObject("IIS://LocalHost/W3SVC/1/ROOT/MyAppDir")  
  'Enable the application at this directory  
  'and at all subdirectories.  
  DirObj.AppEnableRecursive  
%>  

Remarks

If the applications specified were not previously deleted, they will be reregistered with Component Services.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also

Concepts

IIsWebDirectory (ADSI)

IIsWebVirtualDir (ADSI)

Using ADSI to Configure IIS