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

Definition

Fügt der DACL (Discretionary Access Control List), die diesem ObjectSecurity`1-Objekt zugeordnet ist, die angegebene Zugriffsregel hinzu.Adds the specified access rule to the Discretionary Access Control List (DACL) associated with this ObjectSecurity`1 object.

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> AccessRule<T> AccessRule<T> AccessRule<T>

Die hinzuzufügende RegelThe rule to add.

Gilt für: