SecurityPermissionAttribute.ControlPolicy 属性

定义

获取或设置一个值,该值指示是否声明了查看和操作安全策略的权限。

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

属性值

如果声明了操作安全策略的权限,则为 true ;否则为 false

适用于