DirectoryObjectSecurity.RemoveAccessRuleAll(ObjectAccessRule) 方法      
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从与此 DirectoryObjectSecurity 对象关联的自由访问控制列表 (DACL) 中移除与指定的访问规则具有相同安全性标识符的所有访问规则。
protected:
 void RemoveAccessRuleAll(System::Security::AccessControl::ObjectAccessRule ^ rule);protected void RemoveAccessRuleAll (System.Security.AccessControl.ObjectAccessRule rule);member this.RemoveAccessRuleAll : System.Security.AccessControl.ObjectAccessRule -> unitProtected Sub RemoveAccessRuleAll (rule As ObjectAccessRule)参数
- rule
- ObjectAccessRule
要移除的访问规则。