Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The IISApplicationPool interface contains methods that can start, stop, recycle, or enumerate 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.
Methods in Vtable Order
In addition to the methods inherited from IADs, the IISApplicationPool interface exposes the following methods.
Method |
Description |
---|---|
Recycles an application pool. When recycling occurs, the worker process currently serving the application pool will terminate and the World Wide Web Publishing Service (WWW service) will restart a new worker process to replace it. |
|
Enumerates applications in an IIS application pool. Note This method requires IIS 6.0 running in worker process isolation mode, or a later version. |
|
Enumerates applications in the pooled application process. Note This method requires IIS 5.1 or earlier. |
|
Starts an IIS application or application pool. |
|
Stops an IIS application or application pool. |
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
Using ADSI to Configure IIS in a C++ Application