Compartir a través de


IISApp2 Interface

The IISApp2 interface contains methods that can create or query the state of Web applications 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 and IISApp Interface, the IISApp2 interface exposes the following methods.

Method

Description

AppCreate2

Creates a new Web application that will run in-process, out-of-process, or in a process pool, or reconfigures an existing application.

AppGetStatus2

Retrieves the status of a Web application.

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 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

IWamAdmin2 Interface

IISApp Interface

IISApp3 Interface