Share via


AddCustomValue method of the MSFT_IPAM_CustomValue class

Adds a value to a custom metadata field.

Syntax

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

Parameters

Name [in]

The name of the value.

Value [in]

The value to add.

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