ObjectSecurity<T>.AddAccessRule(AccessRule<T>) 方法

定义

将指定的访问规则添加到与此 ObjectSecurity`1 对象关联的自由访问控制列表 (DACL)。

public:
 virtual void AddAccessRule(System::Security::AccessControl::AccessRule<T> ^ rule);
public virtual void AddAccessRule (System.Security.AccessControl.AccessRule<T> rule);
override this.AddAccessRule : System.Security.AccessControl.AccessRule<'T (requires 'T : struct)> -> unit
Public Overridable Sub AddAccessRule (rule As AccessRule(Of T))

参数

rule
AccessRule<T>

要添加的规则。

适用于