Aracılığıyla paylaş


CommonSecurityDescriptor.SetSystemAclProtection(Boolean, Boolean) Yöntem

Tanım

Bu CommonSecurityDescriptor nesneyle ilişkili Sistem Access Control Listesi (SACL) için devralma korumasını ayarlar. Korunan SACL'ler denetim kurallarını üst kapsayıcılardan devralmaz.

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)

Parametreler

isProtected
Boolean

true SACL'yi devralmaya karşı korumak için.

preserveInheritance
Boolean

true devralınan denetim kurallarını SACL'de tutmak için; false devralınan denetim kurallarını SACL'den kaldırmak için.

Şunlara uygulanır