Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 2.88 KB

File metadata and controls

45 lines (35 loc) · 2.88 KB
title IHttpServer2 Interface
description Learn how the IHttpServer2 interface represents the processing context for global-level operations.
ms.date 10/07/2016
ms.assetid 73ed3784-2b56-46f5-9b73-c2f47600f298

IHttpServer2 Interface

Represents the processing context for global-level operations, and enables retrieving configuration files, extended interfaces, metadata, tokens, and the worker process framework.

Syntax

class IHttpServer2 : public IHttpServer  

Methods

The following table lists the methods exposed by the IHttpServer2 interface.

Name Description
GetAppPoolConfigFile Retrieves the path of the application pool’s configuration file.
GetExtendedInterface Retrieves the correct down-casted pointer based on version GUID (globally unique identifier) values.
GetMetadata Retrieves metadata about a website given its name and URL.
GetToken Retrieves an authentication token given a user name, password, and login method.
GetWorkerProcessFramework Retrieves the interface of the worker process framework for the server.

Derived Classes

This interface contains no derived classes.

Inheritance Hierarchy

IHttpServer

IHttpServer2

Requirements

Type Description
Client - IIS 7.0 on [!INCLUDEwinvista]
- IIS 7.5 on Windows 7
- IIS 8.0 on Windows 8
- IIS 10.0 on Windows 10
Server - IIS 7.0 on [!INCLUDEwinsrv2008]
- IIS 7.5 on Windows Server 2008 R2
- IIS 8.0 on Windows Server 2012
- IIS 8.5 on Windows Server 2012 R2
- IIS 10.0 on Windows Server 2016
Product - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
- [!INCLUDEiisexp75], [!INCLUDEiisexp80], [!INCLUDEiisexp100]
Header Httpserv.h

See Also

Web Server Core Interfaces