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:
virtual bool ModifyAuditRule(
	AccessControlModification modification,
	AuditRule^ rule,
	[OutAttribute] bool% modified
) override

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: