Partager via


IISApplicationPool::EnumAppsInPool

The EnumAppsInPool method enumerates applications in an IIS application pool.

Note

This method requires IIS 6.0 running in worker process isolation mode, or a later version.

HRESULT STDMETHODCALLTYPE EnumAppsInPool( 
  VARIANT *bstrBuffer
)

Parameters

  • bstrBuffer
    [retval][out] A string containing the names of the applications in the instance of the application pool.

Return Value

The method returns an HRESULT. Possible values include, but are not limited to, S_OK, which indicates that the method succeeded.

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