System.Security.AccessControl.CommonObjectSecurity.SetAuditRule Method

Removes all audit rules that contain the same security identifier and qualifier as the specified audit rule in the System Access Control List (SACL) associated with this System.Security.AccessControl.CommonObjectSecurity object and then adds the specified audit rule.

Syntax

protected void SetAuditRule (AuditRule rule)

Parameters

rule
The audit rule to set.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Security.AccessControl
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0