Compartir a través de


IIISApplicationAdmin::CreateApplicationPool

The IIISApplicationAdmin::CreateApplicationPool method creates an application pool. Use the GetProcessMode method to ensure that IIS is running in worker process isolation mode before using this method. For more information about isolation modes, see IIS Modes of Operation.

STDMETHODIMP CreateApplicationPool(
   LPCWSTR szMDPath
);

Parameters

  • szMDPath
    Specifies the name of the application pool. This need not be a full metabase path. Only the name of the pool is required.

Return Values

This method returns S_OK if the method succeeded, or other error codes converted to an HRESULT if the method failed.

Requirements

Server: Requires or Windows Server 2003.

Product: IIS

Header: Declared in iwamreg.h.

See Also