Uredi

Deli z drugimi prek


ObjectSecurity<T>.RemoveAuditRule(AuditRule<T>) Method

Definition

Removes audit rules that contain the same security identifier and access mask as the specified audit rule from the System Access Control List (SACL) associated with this ObjectSecurity`1 object.

public:
 virtual bool RemoveAuditRule(System::Security::AccessControl::AuditRule<T> ^ rule);
public virtual bool RemoveAuditRule (System.Security.AccessControl.AuditRule<T> rule);
override this.RemoveAuditRule : System.Security.AccessControl.AuditRule<'T (requires 'T : struct)> -> bool
Public Overridable Function RemoveAuditRule (rule As AuditRule(Of T)) As Boolean

Parameters

rule
AuditRule<T>

The audit rule to remove.

Returns

true if the object was removed; otherwise, false.

Applies to