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.
Represents a single element in the IIS 7 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
IAppHostElement
Requirements
Type | Description |
---|---|
Client | - IIS 7.0 on Windows Vista - IIS 7.5 on Windows 7 - IIS 8.0 on Windows 8 - IIS 10.0 on Windows 10 |
Server | - IIS 7.0 on Windows Server 2008 - 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 - IIS Express 7.5, IIS Express 8.0, IIS Express 10.0 |
Header | Ahadmin.h |
See Also
Application Host Administration Interfaces
IAppHostProperty Interface