You can use the AppDisableRecursive method of the IIsWebDirectory object to disable Web applications that are running out-of-process. The applications at the specified key and at all subordinate keys will be disabled. All of the application resources are released and the application processes are terminated. Attempts to access this application will fail. You can use the AppEnableRecursive method to reenable disabled applications. You use the AppDisableRecursive and AppEnableRecursive methods primarily when moving, copying, or renaming metabase keys. This method has no effect if the applications are running in-process.
IIsWebDirectory.AppDisableRecursive
<% Dim DirObj Set DirObj = GetObject("IIS://LocalHost/W3SVC/1/ROOT/MyAppDir") ' Disable the application at this directory ' and at all subordinate directories DirObj.AppDisableRecursive %>
AppCreate, AppDelete, AppDeleteRecursive, AppUnload, AppUnloadRecursive, AppGetStatus, AppDisable, AppEnable, AppEnableRecursive
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/inet/iis/iis/htm/sdk/aoii65b9.htm, 3KB, , updated: 2002/5/22 16:36, local time: 2025/5/15 03:10,
216.73.216.61,10-1-120-130: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/aoii65b9.htm"> AppDisableRecursive</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.