Bagikan melalui


ActiveDirectorySecurity.RemoveAuditRule(ActiveDirectoryAuditRule) Metode

Definisi

Menghapus semua aturan audit yang berisi pengidentifikasi keamanan dan masker akses yang sama dengan aturan audit yang ditentukan dari Daftar Access Control Sistem (SACL) objek.

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

Parameter

rule
ActiveDirectoryAuditRule

Objek ActiveDirectoryAccessRule tempat operasi ini berlaku.

Mengembalikan

true jika operasi berhasil; jika tidak, false.

Berlaku untuk