Rename method of the MSFT_MTRegistryKey class

Renames the registry object.

Syntax

uint32 Rename(
  [in]  string             NewName,
  [out] MSFT_MTRegistryKey Result
);

Parameters

NewName [in]

The fully qualified new name of the object.

Result [out]

On success, returns an MSFT_MTRegistryKey embedded instance with the new path.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\Microsoft\Windows\ManagementTools
MOF
RegProv.mof
DLL
RegProv.dll

See also

MSFT_MTRegistryKey