TransactedRegistrySecurity.ResetAccessRule Method

Searches for all access control rules with the same user as the specified rule, regardless of AccessControlType, and then removes all existing rules and adds the specified rule. This method is introduced in Windows PowerShell 2.0.


Namespace: Microsoft.PowerShell.Commands.Internal
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As TransactedRegistrySecurity
Dim rule As TransactedRegistryAccessRule

instance.ResetAccessRule(rule)

public void ResetAccessRule (
	TransactedRegistryAccessRule rule
)
public void ResetAccessRule (
	TransactedRegistryAccessRule rule
)
public function ResetAccessRule (
	rule : TransactedRegistryAccessRule
)

Parameters

rule

The TransactedRegistryAccessRule that is to be used in the search and that defines the rule to be added.

This topic is included in this SDK for completeness only.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms


Show: