次の方法で共有


RenameCustomValue method of the MSFT_IPAM_CustomValue class

Renames a value of a custom metadata field.

Syntax

uint32 RenameCustomValue(
  [in]  string                Name,
  [in]  string                Value,
  [in]  string                NewValue,
  [out] MSFT_IPAM_CustomValue Output
);

Parameters

Name [in]

The name of the value.

Value [in]

The value to rename.

NewValue [in]

The new value name.

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_CustomValue