AppUnload

[This is preliminary documentation and subject to change.]

You can use the AppUnload method of the IIsWebVirtualDir object to unload a Web application that is running out-of-process. All of the application's resources are released and the application's process is terminated. This method has no effect if the application is running in-process.

Syntax

object.AppUnload 
 

Parts

object
Contains the IIsWebVirtualDir object, usually as a result of a previous GetObject operation.

Code Example

Dim VDirObj 
Set VDirObj = GetObject("IIS://LocalHost/W3SVC/1/ROOT/MyAppVDir") 
' Unload the application at this directory 
VDirObj.AppUnload 
 

See Also

AppCreate AppDelete AppDeleteRecursive
AppUnloadRecursive AppGetStatus AppDisable
AppDisableRecursive AppEnable AppEnableRecursive


© 1997 by Microsoft Corporation. All rights reserved.