This documentation is archived and is not being maintained.

SecurityAttribute.Unrestricted Property

Gets or sets a value indicating whether full (unrestricted) permission to the resource protected by the attribute is declared.

[Visual Basic]
Public Property Unrestricted As Boolean
[C#]
public bool Unrestricted {get; set;}
[C++]
public: __property bool get_Unrestricted();
public: __property void set_Unrestricted(bool);
[JScript]
public function get Unrestricted() : Boolean;
public function set Unrestricted(Boolean);

Property Value

true if full permission to the protected resource is declared; otherwise, false.

Remarks

This property is inherited by all classes implementing custom attributes for declarative security.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Common Language Infrastructure (CLI) Standard

See Also

SecurityAttribute Class | SecurityAttribute Members | System.Security.Permissions Namespace

Show: