Editar

Compartir a través de


ActiveDirectorySecurity.SetAuditRule(ActiveDirectoryAuditRule) Method

Definition

Replaces all audit rules that contain the same security identifier as the specified audit rule in the SACL of an object with the specified audit rule.

public:
 void SetAuditRule(System::DirectoryServices::ActiveDirectoryAuditRule ^ rule);
public void SetAuditRule (System.DirectoryServices.ActiveDirectoryAuditRule rule);
override this.SetAuditRule : System.DirectoryServices.ActiveDirectoryAuditRule -> unit
Public Sub SetAuditRule (rule As ActiveDirectoryAuditRule)

Parameters

rule
ActiveDirectoryAuditRule

The ActiveDirectoryAccessRule object to which this operation applies.

Applies to