SectionDefinition.OverrideModeDefault Property


Gets or sets the default override behavior for the current configuration section.

Namespace:   Microsoft.Web.Administration
Assembly:  Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)

public string OverrideModeDefault { get; set; }

Property Value

Type: System.String

"Allow" if the settings in the configuration section can be overridden at a lower level of the configuration hierarchy; otherwise, "Deny".

If you do not explicitly set the value of this property, the default is "Allow".

The following example demonstrates the OverrideModeDefault property.

Return to top