Redigera

Dela via


ObjectSecurity<T>.RemoveAccessRuleSpecific(AccessRule<T>) Method

Definition

Removes all access rules that exactly match the specified access rule from the Discretionary Access Control List (DACL) associated with this ObjectSecurity`1 object.

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

Parameters

rule
AccessRule<T>

The access rule to remove.

Applies to