3.1.1.1.32.2.1 GetPolicySubrangesForPolicyId
The GetPolicySubrangesForPolicyId procedure is used to retrieve all the DHCP policy subranges that are associated with a specific DHCP policy.
The input parameter for this procedure is the following:
Param_policyId: A signed 64-bit integer.
The output parameter from this procedure is the following:
Result_PolicyRanges: A collection of type DhcpPolicyRangeV4.
The following processing steps are involved:
Enumerate the rows in ADM_DhcpPolicySubrangeTable having PolicyId being Param_policyId.
Initialize Result_PolicyRanges.
For each row meeting the criteria mentioned in step 1, perform the following steps:
Create an instance of DhcpPolicyRangeV4 with the following assignments and add it to the Result_PolicyRanges collection:
Assign DhcpPolicyRangeV4.RecordId with RecordId of the row.
Copy the PolicySubrangeDetails to DhcpPolicyRangeV4 instance.
Return Result_PolicyRanges as the output of the procedure.