Freigeben über


ObjectSecurity<T>.AddAccessRule(AccessRule<T>) Methode

Definition

Fügt der DACL (Discretionary Access Control List), die diesem ObjectSecurity`1-Objekt zugeordnet ist, die angegebene Zugriffsregel hinzu.

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

Parameter

rule
AccessRule<T>

Die hinzuzufügende Regel

Gilt für: