CommonSecurityDescriptor.SetSystemAclProtection(Boolean, Boolean) Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mengatur perlindungan pewarisan untuk Daftar Access Control Sistem (SACL) yang terkait dengan objek iniCommonSecurityDescriptor. SACL yang dilindungi tidak mewarisi aturan audit dari kontainer induk.
public:
void SetSystemAclProtection(bool isProtected, bool preserveInheritance);
public void SetSystemAclProtection (bool isProtected, bool preserveInheritance);
member this.SetSystemAclProtection : bool * bool -> unit
Public Sub SetSystemAclProtection (isProtected As Boolean, preserveInheritance As Boolean)
Parameter
- isProtected
- Boolean
true
untuk melindungi SACL dari warisan.
- preserveInheritance
- Boolean
true
untuk menyimpan aturan audit yang diwariskan di SACL; false
untuk menghapus aturan audit yang diwariskan dari SACL.