CommonSecurityDescriptor.SetSystemAclProtection(Boolean, Boolean) Methode

Definition

Legt den Vererbungsschutz für die SACL fest, die diesem CommonSecurityDescriptor-Objekt zugeordnet ist. Geschützte SACLs erben keine Überwachungsregeln von übergeordneten Containern.

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, wenn die SACL vor Vererbung geschützt werden soll.

preserveInheritance
Boolean

true, wenn geerbte Überwachungsregeln in der SACL beibehalten werden sollen, false, wenn geerbte Überwachungsregeln aus der SACL entfernt werden sollen.

Gilt für