Bagikan melalui


ActiveDirectorySecurity.SetAuditRule(ActiveDirectoryAuditRule) Metode

Definisi

Mengganti semua aturan audit yang berisi pengidentifikasi keamanan yang sama dengan aturan audit yang ditentukan di SACL objek dengan aturan audit yang ditentukan.

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)

Parameter

rule
ActiveDirectoryAuditRule

Objek ActiveDirectoryAccessRule tempat operasi ini berlaku.

Berlaku untuk