ModifyAuditRule Method

ActiveDirectorySecurity.ModifyAuditRule Method (AccessControlModification, AuditRule, Boolean)

 

Applies the specified modification to the specified AuditRule.

Namespace:   System.DirectoryServices
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public override bool ModifyAuditRule(
	AccessControlModification modification,
	AuditRule rule,
	out bool modified
)

Parameters

modification
Type: System.Security.AccessControl.AccessControlModification

The modification to apply.

rule
Type: System.Security.AccessControl.AuditRule

The audit rule to modify.

modified
Type: System.Boolean

true if successfully modified; otherwise, false.

Return Value

Type: System.Boolean

true if successfully modified; otherwise, false.

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