TransactedRegistrySecurity.SetAccessRule(TransactedRegistryAccessRule) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes all access control rules with the same user and AccessControlType (allow or deny) as the specified rule, and then adds the specified rule.
public:
void SetAccessRule(Microsoft::PowerShell::Commands::Internal::TransactedRegistryAccessRule ^ rule);
public void SetAccessRule (Microsoft.PowerShell.Commands.Internal.TransactedRegistryAccessRule rule);
override this.SetAccessRule : Microsoft.PowerShell.Commands.Internal.TransactedRegistryAccessRule -> unit
Public Sub SetAccessRule (rule As TransactedRegistryAccessRule)