RegistryAclExtensions.SetAccessControl(RegistryKey, RegistrySecurity) RegistryAclExtensions.SetAccessControl(RegistryKey, RegistrySecurity) RegistryAclExtensions.SetAccessControl(RegistryKey, RegistrySecurity) Method

Definition

public:
[System::Runtime::CompilerServices::Extension]
 static void SetAccessControl(Microsoft::Win32::RegistryKey ^ key, System::Security::AccessControl::RegistrySecurity ^ registrySecurity);
public static void SetAccessControl (this Microsoft.Win32.RegistryKey key, System.Security.AccessControl.RegistrySecurity registrySecurity);
static member SetAccessControl : Microsoft.Win32.RegistryKey * System.Security.AccessControl.RegistrySecurity -> unit

Parameters

Applies to