CommonSecurityDescriptor.SetSystemAclProtection(Boolean, Boolean) Método

Definição

Define a proteção de herança para a Lista de Controlo de Acesso do Sistema (SACL) associada a este objeto CommonSecurityDescriptor. Os SACLs protegidos não herdam regras de auditoria dos contentores principais.

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)

Parâmetros

isProtected
Boolean

true para proteger a SACL de heranças.

preserveInheritance
Boolean

true manter as regras de auditoria herdadas na SACL; false remover as regras de auditoria herdadas da SACL.

Aplica-se a