Skip to content

Latest commit

 

History

History
54 lines (43 loc) · 3.96 KB

File metadata and controls

54 lines (43 loc) · 3.96 KB
title IAppHostElement Interface
description IAppHostElement Interface represents a single element in the INCLUDE iisver configuration system.
ms.date 10/07/2016
ms.assetid b2e024dd-f7e3-3e43-3343-0fde1a1851d8

IAppHostElement Interface

Represents a single element in the [!INCLUDEiisver] configuration system.

Syntax

interface IAppHostElement : IUnknown  

Methods

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

Method Description
Clear Removes all elements from the configuration system.
GetElementByName Gets a requested child element from the current element.
GetMetadata Gets metadata values from the current element.
GetPropertyByName Gets a requested property from the IAppHostElement::Properties collection.
SetMetadata Sets metadata for the current element.

Properties

The following table lists the properties exposed by the IAppHostElement interface.

Property Description
ChildElements Represents a collection of child elements that are nested under the current IAppHostElement interface.
Collection Represents a collection of elements that belongs to a collection.
Name Gets the name of the current element.
Properties Gets the collection of properties that are defined for the current element.
Schema Gets the schema that is assigned to the current element.

Inheritance Hierarchy

IUnknown

IAppHostElement

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 Ahadmin.h

See Also

Application Host Administration Interfaces
IAppHostProperty Interface