TransactedRegistryKey.CreateSubKey Method

Definition

Overloads

CreateSubKey(String)

Creates a new subkey, or opens an existing one. Utilizes Transaction.Current for its transaction.

CreateSubKey(String, RegistryKeyPermissionCheck)

Creates a new subkey, or opens an existing one. Utilizes Transaction.Current for its transaction.

CreateSubKey(String, RegistryKeyPermissionCheck, TransactedRegistrySecurity)

Creates a new subkey, or opens an existing one. Utilizes Transaction.Current for its transaction.

CreateSubKey(String)

Creates a new subkey, or opens an existing one. Utilizes Transaction.Current for its transaction.

public:
 Microsoft::PowerShell::Commands::Internal::TransactedRegistryKey ^ CreateSubKey(System::String ^ subkey);
public Microsoft.PowerShell.Commands.Internal.TransactedRegistryKey CreateSubKey (string subkey);
member this.CreateSubKey : string -> Microsoft.PowerShell.Commands.Internal.TransactedRegistryKey
Public Function CreateSubKey (subkey As String) As TransactedRegistryKey

Parameters

subkey
String

Returns

Applies to

CreateSubKey(String, RegistryKeyPermissionCheck)

Creates a new subkey, or opens an existing one. Utilizes Transaction.Current for its transaction.

public:
 Microsoft::PowerShell::Commands::Internal::TransactedRegistryKey ^ CreateSubKey(System::String ^ subkey, Microsoft::Win32::RegistryKeyPermissionCheck permissionCheck);
[System.Runtime.InteropServices.ComVisible(false)]
public Microsoft.PowerShell.Commands.Internal.TransactedRegistryKey CreateSubKey (string subkey, Microsoft.Win32.RegistryKeyPermissionCheck permissionCheck);
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.CreateSubKey : string * Microsoft.Win32.RegistryKeyPermissionCheck -> Microsoft.PowerShell.Commands.Internal.TransactedRegistryKey
Public Function CreateSubKey (subkey As String, permissionCheck As RegistryKeyPermissionCheck) As TransactedRegistryKey

Parameters

subkey
String
permissionCheck
RegistryKeyPermissionCheck

Returns

Attributes

Applies to

CreateSubKey(String, RegistryKeyPermissionCheck, TransactedRegistrySecurity)

Creates a new subkey, or opens an existing one. Utilizes Transaction.Current for its transaction.

public:
 Microsoft::PowerShell::Commands::Internal::TransactedRegistryKey ^ CreateSubKey(System::String ^ subkey, Microsoft::Win32::RegistryKeyPermissionCheck permissionCheck, Microsoft::PowerShell::Commands::Internal::TransactedRegistrySecurity ^ registrySecurity);
[System.Runtime.InteropServices.ComVisible(false)]
public Microsoft.PowerShell.Commands.Internal.TransactedRegistryKey CreateSubKey (string subkey, Microsoft.Win32.RegistryKeyPermissionCheck permissionCheck, Microsoft.PowerShell.Commands.Internal.TransactedRegistrySecurity registrySecurity);
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.CreateSubKey : string * Microsoft.Win32.RegistryKeyPermissionCheck * Microsoft.PowerShell.Commands.Internal.TransactedRegistrySecurity -> Microsoft.PowerShell.Commands.Internal.TransactedRegistryKey
Public Function CreateSubKey (subkey As String, permissionCheck As RegistryKeyPermissionCheck, registrySecurity As TransactedRegistrySecurity) As TransactedRegistryKey

Parameters

subkey
String
permissionCheck
RegistryKeyPermissionCheck
registrySecurity
TransactedRegistrySecurity

Returns

Attributes

Applies to