TransactedRegistryKey.GetAccessControl Method (AccessControlSections)

Returns specific sections of the access control security for the current registry key. 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 TransactedRegistryKey
Dim includeSections As AccessControlSections
Dim returnValue As TransactedRegistrySecurity

returnValue = instance.GetAccessControl(includeSections)

public TransactedRegistrySecurity GetAccessControl (
	AccessControlSections includeSections
)
public TransactedRegistrySecurity GetAccessControl (
	AccessControlSections includeSections
)
public function GetAccessControl (
	includeSections : AccessControlSections
) : TransactedRegistrySecurity

Parameters

includeSections

The sections of the access control security to return

Return Value

Returns a TransactedRegistrySecurity object that includes the specified sections.

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: