Redigera

Dela via


ActiveDirectorySecurity.RemoveAuditRule(ActiveDirectoryAuditRule) Method

Definition

Removes all audit rules that contain the same security identifier and access mask as the specified audit rule from the System Access Control List (SACL) of an object.

public:
 bool RemoveAuditRule(System::DirectoryServices::ActiveDirectoryAuditRule ^ rule);
public bool RemoveAuditRule (System.DirectoryServices.ActiveDirectoryAuditRule rule);
override this.RemoveAuditRule : System.DirectoryServices.ActiveDirectoryAuditRule -> bool
Public Function RemoveAuditRule (rule As ActiveDirectoryAuditRule) As Boolean

Parameters

rule
ActiveDirectoryAuditRule

The ActiveDirectoryAccessRule object to which this operation applies.

Returns

true if the operation is successful; otherwise, false.

Applies to