次の方法で共有


MSFT_IPAM_CustomFieldAssociation class

Defines an ordered set of value pairs from two custom metadata fields.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[UMLPackagePath("CIM::Core::CoreElements"), ClassVersion("1.0.0"), dynamic, provider("IPAMServerPSProvider"), AMENDMENT]
class MSFT_IPAM_CustomFieldAssociation : CIM_ManagedElement
{
  string Caption;
  string Description;
  string ElementName;
  string InstanceID;
  string CustomFieldOne;
  string CustomFieldTwo;
  string AssociationValue[];
};

Members

The MSFT_IPAM_CustomFieldAssociation class has these types of members:

Methods

The MSFT_IPAM_CustomFieldAssociation class has these methods.

Method Description
Add Adds items to the set of values pairs for two custom fields.
Modify Updates the set of value pairs for two custom fields.
Remove Deletes items from the set of values pairs for two custom fields.

Properties

The MSFT_IPAM_CustomFieldAssociation class has these properties.

AssociationValue

Data type: string array

Access type: Read-only

An array that contains the value pairs from CustomFieldOne and CustomFieldTwo. The value pairs are separated by a colon.

Caption

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

The Caption property is a short textual description (one- line string) of the object.

This property is inherited from CIM_ManagedElement.

CustomFieldOne

Data type: string

Access type: Read-only

The first custom field.

CustomFieldTwo

Data type: string

Access type: Read-only

The second custom field.

Description

Data type: string

Access type: Read-only

The Description property provides a textual description of the object.

This property is inherited from CIM_ManagedElement.

ElementName

Data type: string

Access type: Read-only

A user-friendly name for the object. This property allows each instance to define a user-friendly name in addition to its key properties, identity data, and description information.

This property is inherited from CIM_ManagedElement.

InstanceID

Data type: string

Access type: Read-only

Qualifiers: Override (InstanceID), key

InstanceID is an optional property that may be used to opaquely and uniquely identify an instance of this class within the scope of the instantiating Namespace. Various subclasses of this class may override this property to make it required, or a key. Such subclasses may also modify the preferred algorithms for ensuring uniqueness that are defined below.

To ensure uniqueness within the NameSpace, the value of InstanceID should be constructed using the following "preferred" algorithm:

<OrgID>:<LocalID>

Where <OrgID> and <LocalID> are separated by a colon (:), and where <OrgID> must include a copyrighted, trademarked, or otherwise unique name that is owned by the business entity that is creating or defining the InstanceID or that is a registered ID assigned to the business entity by a recognized global authority. (This requirement is similar to the <Schema Name>_<Class Name> structure of Schema class names.) In addition, to ensure uniqueness, <OrgID> must not contain a colon (:). When using this algorithm, the first colon to appear in InstanceID must appear between <OrgID> and <LocalID>.

<LocalID> is chosen by the business entity and should not be reused to identify different underlying (real-world) elements. If not null and the above "preferred" algorithm is not used, the defining entity must assure that the resulting InstanceID is not reused across any InstanceIDs produced by this or other providers for the NameSpace of this instance.

If not set to null for DMTF-defined instances, the "preferred" algorithm must be used with the <OrgID> set to CIM.

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

CIM_ManagedElement

IPAM Server WMI Provider Reference