Freigeben über


Rename method of the MSFT_MTRegistryValue class

Renames the registry value object.

Syntax

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

Parameters

NewName [in]

The fully qualified new name of the object.

Result [out]

On success, returns an MSFT_MTRegistryValue embedded instance containing the new object 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_MTRegistryValue