TrustLevel.PolicyFile Property
.NET Framework (current version)
Gets or sets the configuration file reference that contains the security policy settings for the named security level.
Assembly: System.Web (in System.Web.dll)
<ConfigurationPropertyAttribute("policyFile", IsRequired := True, DefaultValue := "internal")> Public Property PolicyFile As String
Property Value
Type: System.StringThe configuration file reference that contains the security policy settings for the associated security level.
The following code example demonstrates how to use the PolicyFile property. This code example is part of a larger example provided for the TrustLevel class.
.NET Framework
Available since 2.0
Available since 2.0
Show: