Bagikan melalui


CommonSecurityDescriptor.SetSystemAclProtection(Boolean, Boolean) Metode

Definisi

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.

Berlaku untuk