共用方式為


DirectoryObjectSecurity.RemoveAccessRuleSpecific(ObjectAccessRule) 方法

定義

從與這個 DirectoryObjectSecurity 物件相關聯的 Discretionary 存取控制清單 (DACL),移除與指定存取規則完全相符的所有存取規則。

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

參數

rule
ObjectAccessRule

要移除的存取規則。

適用於