TransactedRegistrySecurity.RemoveAccessRuleAll Method

Searches for all access control rules that have the same user and AccessControlType (allow or deny) as the specified rule and, if found, removes them. 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.RemoveAccessRuleAll(rule)

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

Parameters

rule

The TransactedRegistryAccessRule that defines the user and AccessControlType to search for.

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: