CommonObjectSecurity::SetAuditRule Method (AuditRule^)

 

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 CommonObjectSecurity object and then adds the specified audit rule.

Namespace:   System.Security.AccessControl
Assembly:  mscorlib (in mscorlib.dll)

protected:
void SetAuditRule(
	AuditRule^ rule
)

Parameters

rule
Type: System.Security.AccessControl::AuditRule^

The audit rule to set.

.NET Framework
Available since 2.0
Return to top
Show: