Share via


RenameCustomField method of the MSFT_IPAM_CustomField class

Renames a custom metadata field in IPAM.

Syntax

uint32 RenameCustomField(
  [in]  string                Name,
  [in]  string                newName,
  [out] MSFT_IPAM_CustomField output
);

Parameters

Name [in]

The name of the metadata field.

newName [in]

The new name of the metadata field.

output [out]

When this method returns, this parameter contains the updated metadata field.

Return value

Returns 0 on success, otherwise returns a WMI error code.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\Microsoft\IPAM
MOF
IPAMServerPSProvider.mof
DLL
IPAMServerPSProvider.dll

See also

MSFT_IPAM_CustomField