Partager via


IIISApplicationAdmin Interface

The IIISApplicationAdmin interface methods are used to control applications and application pools from C++ components. Use the GetProcessMode method to ensure that IIS is running in worker process isolation mode before using the other methods. This interface is declared in the iwamreg.h file.

The IIISApplicationAdmin interface implements the following methods:

Methods in Vtable Order

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

The IIISApplicationAdmin interface defines the following methods.

Method

Description

CreateApplication

Creates an application on a path in the metabase if IIS is running in worker process isolation mode.

DeleteApplication

Deletes a Web application from this metabase key, and optionally all child nodes.

CreateApplicationPool

Creates an application pool.

DeleteApplicationPool

Deletes an application pool from the IIS server if no applications are assigned to the pool.

EnumerateApplicationsInPool

Enumerates all the applications in an IIS application pool.

RecycleApplicationPool

Recycles the resources associated with an application pool when IIS is running in worker process isolation mode.

GetProcessMode

Gets a DWORD value that identifies if IIS is running under worker process isolation mode or IIS 5.0 compatibility isolation mode. Use this method to ensure that IIS is running in worker process isolation mode before using the other methods in this interface.

Requirements

Server: Requires or Windows Server 2003.

Product: IIS

Header: Declared in iwamreg.h.