CommonSecurityDescriptor.SetSystemAclProtection(Boolean, Boolean) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.