共用方式為


IWamAdmin2 Interface

The IWamAdmin2 interface provides one method creating applications on an IIS server.

IIS 5.0 and earlier: The IWamAdmin2 interface is not available.

IWamAdminThe IWamAdmin interface provides methods for managing application on an IIS server.

Methods in Vtable Order

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

The IWamAdmin2 interface defines the following method, in addition to those inherited from IWamAdmin.

Method

Description

AppCreate2

Creates a Web application definition and marks it as running in-process or out-of-process. If an application already exists at the specified path, this method reconfigures the application from in-process to out-of-process execution, or vice versa.

Requirements

Client: Requires or Windows XP Professional.

Server: Requires or Windows Server 2003.

Product: IIS

Header: Declared in iwamreg.h.