Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ObjectSecurity::ModifyAuditRule Method (AccessControlModification, AuditRule^, Boolean%)

 

Applies the specified modification to the System Access Control List (SACL) associated with this ObjectSecurity object.

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

public:
virtual bool ModifyAuditRule(
	AccessControlModification modification,
	AuditRule^ rule,
	[OutAttribute] bool% modified
)

Parameters

modification
Type: System.Security.AccessControl::AccessControlModification

The modification to apply to the SACL.

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

The audit rule to modify.

modified
Type: System::Boolean%

true if the SACL is successfully modified; otherwise, false.

Return Value

Type: System::Boolean

true if the SACL is successfully modified; otherwise, false.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft