System.Web.Configuration.TrustSection.Level Property

Gets or sets the name of the security level under which the application will run.

Syntax

[System.Configuration.ConfigurationProperty("level", DefaultValue="Full", Options=System.Configuration.ConfigurationPropertyOptions.IsRequired)]
[System.Configuration.StringValidator(MinLength=1)]
public string Level { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The TrustSection.Level property specifies the security level under which the application will be run. The default is "Full".

There are five available trust levels:

  • Full

  • High

  • Medium

  • Low

  • Minimal

The named levels correspond to the security levels that are defined in the <trustLevel> element for <securityPolicy>.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0