AppDelete

You can use the AppDelete method of the IIsWebVirtualDir object to delete a Web application definition from a metabase key. If the application is running, it will be shut down. All resources associated with the application, such as out-of-process packages, will be released. This action cannot be undone.

Syntax

IIsWebVirtualDir.AppDelete 
 

Code Example

<% 
Dim VDirObj 
Set VDirObj = GetObject("IIS://LocalHost/W3SVC/1/ROOT/MyAppVDir") 
' Delete the application at this virtual directory 
VDirObj.AppDelete 
%> 
 

See Also

AppCreate, AppDeleteRecursive, AppUnload, AppUnloadRecursive, AppGetStatus, AppDisable, AppDisableRecursive, AppEnable, AppEnableRecursive