SecurityAttribute.Unrestricted SecurityAttribute.Unrestricted SecurityAttribute.Unrestricted SecurityAttribute.Unrestricted Property

定义

获取或设置一个值,该值指示是否声明了对受该特性保护的资源有完全(无限制的)权限。Gets or sets a value indicating whether full (unrestricted) permission to the resource protected by the attribute is declared.

public:
 property bool Unrestricted { bool get(); void set(bool value); };
public bool Unrestricted { get; set; }
member this.Unrestricted : bool with get, set
Public Property Unrestricted As Boolean

属性值

如果声明了对受保护资源的完全权限,则为 true;否则为 falsetrue if full permission to the protected resource is declared; otherwise, false.

注解

通过实现自定义属性的声明性安全的所有类继承此属性。This property is inherited by all classes implementing custom attributes for declarative security.

适用于