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.
Methods in Vtable Order
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.
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.
Client: Requires Windows XP Professional.
Server: Requires Windows Server 2003.
Header: Declared in iiisext.h; include iisext_i.c.