DirectoryObjectSecurity.RemoveAccessRuleAll(ObjectAccessRule) 方法

定义

从与此 DirectoryObjectSecurity 对象关联的自由访问控制列表 (DACL) 中移除与指定的访问规则具有相同安全性标识符的所有访问规则。Removes all access rules that have the same security identifier as the specified access rule from the Discretionary Access Control List (DACL) associated with this DirectoryObjectSecurity object.

protected:
 void RemoveAccessRuleAll(System::Security::AccessControl::ObjectAccessRule ^ rule);
protected void RemoveAccessRuleAll (System.Security.AccessControl.ObjectAccessRule rule);
member this.RemoveAccessRuleAll : System.Security.AccessControl.ObjectAccessRule -> unit
Protected Sub RemoveAccessRuleAll (rule As ObjectAccessRule)

参数

rule
ObjectAccessRule

要移除的访问规则。The access rule to remove.

适用于