将 IIS 7 配置路径映射到文件系统路径。
语法
interface IAppHostPathMapper : IUnknown
方法
下表列出了 接口公开 IAppHostPathMapper 的方法。
| 方法 | 说明 |
|---|---|
| MapPath | 将 IIS 7 配置路径映射到自定义文件系统路径。 |
属性
此接口不包含任何属性。
备注
此接口用于将配置系统指向自定义物理路径中的配置文件。
继承层次结构
IAppHostPathMapper
要求
| 类型 | 说明 |
|---|---|
| 客户端 | - Windows Vista 上的 IIS 7.0 - Windows 7 上的 IIS 7.5 - Windows 8 上的 IIS 8.0 - Windows 10 上的 IIS 10.0 |
| 服务器 | - Windows Server 2008 上的 IIS 7.0 - Windows Server 2008 R2 上的 IIS 7.5 - Windows Server 2012 上的 IIS 8.0 - Windows Server 2012 R2 上的 IIS 8.5 - Windows Server 2016 上的 IIS 10.0 |
| 产品 | - 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 |