Redigera

Dela via


ActiveDirectorySecurity.AddAuditRule(ActiveDirectoryAuditRule) Method

Definition

Adds an audit rule to the SACL of an object.

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

Parameters

rule
ActiveDirectoryAuditRule

The ActiveDirectoryAuditRule object to which this operation applies.

Applies to

See also