IIsWebDirectory.AppEnable (ADSI)
You can use the AppEnable method of the IIsWebDirectory (ADSI) or IIsWebVirtualDir (ADSI) 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 ADSI 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
%>
Related Topics
- For information on other methods in the IIsWebDirectory object, see IIsWebDirectory (ADSI).