Share via


IAppHostMethod Interface

 

Provides access to a custom method that is optionally supported on an IAppHostElement Interface object.

Syntax

interface IAppHostMethod : IUnknown  

Methods

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

Method Description
IAppHostMethod::CreateInstance Method Creates an executable IAppHostMethodInstance Interface object from the current method.

Properties

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

Property Description
IAppHostMethod::Name Property Gets the name of the method.
IAppHostMethod::Schema Property Gets the schema assigned to the current method.

Remarks

IAppHostElement Interface objects provide a means for an administration system to support custom-defined methods that can be executed against a specific IAppHostElement Interface object. The methods are executed on the server side and the implementation of these custom methods is not exposed to the client.

Inheritance Hierarchy

IUnknown

IAppHostMethod

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 Technical Preview
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
IAppHostElement Interface
IAppHostMethodInstance Interface
IAppHostMethodExtension Interface