次の方法で共有


Add method of the MSFT_IPAM_CustomFieldAssociation class

Adds items to the set of values pairs for two custom fields.

Syntax

uint32 Add(
  [in]  string                           CustomFieldOne,
  [in]  string                           CustomFieldTwo,
  [in]  string                           AssociationValue[],
  [out] MSFT_IPAM_CustomFieldAssociation Output
);

Parameters

CustomFieldOne [in]

The first custom field.

CustomFieldTwo [in]

The second custom field.

AssociationValue [in]

An array that contains the value pairs to add.

Output [out]

When this method returns, this parameter contains the updated set of value pairs for the custom fields.

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_CustomFieldAssociation