IIsWebVirtualDir.AppDisable (WMI)
The AppDisable method disables a Web application that is running, and optionally disables all of its child applications. All of the application's resources are released and the application's process is terminated.
objIIsWebVirtualDir.AppDisable(
Recursive
)
Parameters
- Recursive
[in] A Boolean. A value of True causes AppDisable to disable the application at the specified metabase node and all child nodes.
Return Values
This method has no return values.
Remarks
Attempts to access this application will fail. You can use the AppEnable method to re-enable disabled applications. Both methods are used primarily when moving, copying, or renaming metabase keys. The AppDisable method has no effect if the applications are running in-process.
Requirements
Server: Requires or Windows Server 2003.
Product: IIS