AppDelete

[This is preliminary documentation and subject to change.]

You can use the AppDelete method of the IIsWebDirectory 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

object.AppDelete 
 

Parts

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

Code Example

Dim DirObj 
Set DirObj = GetObject("IIS://LocalHost/W3SVC/1/ROOT/MyAppDir") 
' Delete the application at this directory 
DirObj.AppDelete 
 

See Also

AppCreate AppDeleteRecursive AppUnload
AppUnloadRecursive AppGetStatus AppDisable
AppDisableRecursive AppEnable AppEnableRecursive


© 1997 by Microsoft Corporation. All rights reserved.