Clase UrlMappingsSection
Representa una sección de <urlMappings>
que contiene pares de asignaciones de direcciones URL entrantes y salientes.
Sintaxis
class UrlMappingsSection : ConfigurationSectionWithCollection
Métodos
La siguiente tabla muestra los métodos expuestos por la clase UrlMappingsSection
.
Nombre | Descripción |
---|---|
Add (Agregar) | (Se hereda de ConfigurationSectionWithCollection). |
Borrar | (Se hereda de ConfigurationSectionWithCollection ). |
Get | (Se hereda de ConfigurationSectionWithCollection ). |
GetAllowDefinition | (Se hereda de ConfigurationSection). |
GetAllowLocation | (Se hereda de ConfigurationSection ). |
Remove | (Se hereda de ConfigurationSectionWithCollection ). |
RevertToParent | (Se hereda de ConfigurationSection ). |
SetAllowDefinition | (Se hereda de ConfigurationSection ). |
SetAllowLocation | (Se hereda de ConfigurationSection ). |
Propiedades
La siguiente tabla enumera las propiedades expuestas por la clase UrlMappingsSection
.
Nombre | Descripción |
---|---|
Enabled |
Valor boolean de lectura y escritura. true si la asignación de direcciones URL está habilitada; de lo contrario, false . El valor predeterminado es true . |
Location |
(Se hereda de ConfigurationSection ). Una propiedad clave. |
Path |
(Se hereda de ConfigurationSection ). Una propiedad clave. |
SectionInformation |
(Se hereda de ConfigurationSection ). |
UrlMappings |
Matriz de valores UrlMapping de lectura y escritura, cada una de los cuales contiene una dirección URL de presentación de entrada y la dirección URL de la aplicación web a la que se asigna la dirección URL de presentación de entrada. |
Subclases
Esta clase no contiene subclases.
Jerarquía de herencia
ConfigurationSectionWithCollection
UrlMappingsSection
Requisitos
Tipo | Descripción |
---|---|
Remoto | - IIS 7.0 en Windows Vista - IIS 7.5 en Windows 7 - IIS 8.0 en Windows 8 - IIS 10.0 en Windows 10 |
Server | - IIS 7.0 en Windows Server 2008 - IIS 7.5 en Windows Server 2008 R2 - IIS 8.0 en Windows Server 2012 - IIS 8.5 en Windows Server 2012 R2 - IIS 10.0 en Windows Server 2016 |
Producto | - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0 |
Archivo MOF | WebAdministration.mof |