Επεξεργασία

Κοινή χρήση μέσω


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

Definition

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))

Parameters

rule
AccessRule<T>

The access rule to reset.

Applies to