Uredi

Deli z drugimi prek


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

Definition

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

Parameters

rule
AccessRule<T>

The rule to add.

Applies to