共用方式為


IWamAdmin Interface

IWamAdmin interface contains methods that can manage applications. For an interface that manages application pools on IIS 6.0, see IIISApplicationAdmin. The required header file, iwamreg.h, is installed with Visual Studio and the IIS Software Developer Kit.

The IWamAdmin interface implements the following methods:

Methods in Vtable Order

The IWamAdmin interface inherits the methods of the standard COM interface IUnknown.

The IWamAdmin interface defines the following methods.

Method

Description

AppCreate

Creates a new Web application, or reconfigures an existing application.

AppDelete

Deletes an application definition.

AppDeleteRecoverable

Marks a Web application as deleted so it can be moved or copied and then recovered.

AppGetStatus

Retrieves the status of a Web application.

AppRecover

Restores an application deleted with AppDeleteRecover.

AppUnload

Unloads an application that is running out-of-process.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

Header: Declared in iwamreg.h.