You can use the AppDisable method of the IIsWebDirectory object to disable a Web application that is running out-of-process. All of the application's resources are released and the application's process is terminated. Attempts to access this application will fail. You can use the AppEnable method to re-enable a disabled application. You use the AppDisable and AppEnable methods primarily when moving, copying, or renaming metabase keys. This method has no effect if the application is running in-process.
IIsWebDirectory.AppDisable
<% Dim DirObj Set DirObj = GetObject("IIS://LocalHost/W3SVC/1/ROOT/MyAppDir") ' Disable the application at this directory DirObj.AppDisable %>
AppCreate, AppDelete, AppDeleteRecursive, AppUnload, AppUnloadRecursive, AppGetStatus, AppDisableRecursive, AppEnable, AppEnableRecursive
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/inet/iis/iis/htm/sdk/aoii7gpx.htm, 2KB, , updated: 2002/5/22 16:36, local time: 2025/7/4 15:01,
216.73.216.200,10-1-86-173:LOG IN
|
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.massmind.org/techref/inet/iis/iis/htm/sdk/aoii7gpx.htm"> AppDisable</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to www.massmind.org! |
.