Поделиться через


AddCustomField method of the MSFT_IPAM_CustomField class

Adds new custom metadata field to IPAM.

Syntax

uint32 AddCustomField(
  [in]  string                Name,
  [in]  boolean               MultiValue,
  [in]  string                CustomValue[],
  [out] MSFT_IPAM_CustomField output
);

Parameters

Name [in]

The name of the metadata field.

MultiValue [in]

True if the field contains multiple values; otherwise, false.

CustomValue [in]

An array that contains the values to add to the field.

output [out]

When this method returns, this parameter contains the new 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