Partager via


IISApp3 Interface

The IISApp interface contains a method that can create a Web application on IIS. This interface can be used from a C++ or Visual Basic application that uses ADSI. The required header files, Iiisext.h and IISext_i.c, are installed with Visual Studio and the IIS Software Developer Kit.

For a C++ code example that uses ADSI to configure the metabase, see Using ADSI to Configure IIS in a C++ Application.

For an interface that manages application pools on IIS 6.0, see IISApp3 and IISApplicationPool Interface.

Methods in Vtable Order

In addition to the methods inherited from IADs, IISApp Interface, and IISApp2, the IISApp3 interface exposes the following method.

Method

Description

AppCreate3

Creates a new Web application, configures what type of process to run it in, and assigns it to an application pool, optionally creating the application pool.

Note

This method requires IIS 6.0 or later if you create an application pool or assign the application pool to a pool other than the default.

Requirements

Client: Requires Windows XP Professional.

Server: Requires Windows Server 2003.

Product: IIS

Header: Declared in iiisext.h; include iisext_i.c.

See Also

Concepts

IIS ADSI Provider Interfaces

Using ADSI to Configure IIS in a C++ Application

IIS Constants and Header Files

IIISApplicationAdmin Interface

IISApp Interface

IISApp2 Interface