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

Definition

Entfernt alle Zugriffsregeln in der DACL (Discretionary Access Control List), die diesem ObjectSecurity`1-Objekt zugeordnet sind und fügt die festgelegte Zugriffsregel hinzu.Removes all access rules in the Discretionary Access Control List (DACL) associated with this ObjectSecurity`1 object and then adds the specified access rule.

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

Parameter

rule
AccessRule<T> AccessRule<T> AccessRule<T> AccessRule<T>

Die zurückzusetzende Zugriffsregel.The access rule to reset.

Gilt für: