3.1.1.1.49.2.2 GetMultivaluedPropertyForRange

The GetMultivaluedPropertyForRange procedure can be used to retrieve all the values that are associated to specified IPRange and the specified propertyId.

The following are the input parameters to this procedure:

Param_rangeId: This is a signed 64-bit integer that represents the RecordId of the IPRange for which the multivalued properties need to be retrieved.

Param_propertyId: This is a signed integer and MUST be a valid property as described in section 3.1.1.1.49.1.

Param_addressfamily: This is of type AddressFamily and it can be either InterNetwork or InterNetworkV6. The value InterNetwork is used to specify the processing to be done on the IPv4-specific simple tables for any compound table involved during the processing. The value InterNetworkV6 is used to specify the processing to be done on IPv6-specific simple tables for any compound table involved during the processing.

The following is the output parameter from this procedure.

Result_RangeMultiValuedProperties: This is a collection of instances of PropertyValue associated with the provided rangeId parameter and the specified propertyId.

The following processing steps are performed:

  1. Look up all the rows in the appropriate simple table of ADM_IPRangeMultivaluedPropertiesTable corresponding to Param_addressFamily, with RangeId value being Param_rangeId and PropertyId equal to Param_propertyId.

  2. If no such rows are found, initialize Result_RangeMultiValuedProperties as NULL and return from the procedure.

  3. Initialize Result_RangeMultiValuedProperties as a collection of type PropertyValue.

  4. Initialize an instance of PropertyValue and assign PropertyValue to it. Add this instance to the Result_RangeMultiValuedProperties collection.

  5. Return Result_RangeMultiValuedProperties as the output of the procedure.