3.1.1.1.31.2.1 GetPolicyConditionsForPolicyId
The GetPolicyConditionsForPolicyId procedure retrieves all the DHCP policy conditions that are associated with a specific DHCP policy.
The following input parameter is used.
Param_policyId: This is a signed 64-bit integer.
The following is the output parameter from this procedure.
Result_PolicyConditions: This is a collection of type DhcpPolicyConditionV4.
The following steps are involved:
Enumerate the rows in ADM_DhcpPolicyConditionTable having PolicyId being Param_policyId.
Initialize Result_PolicyConditions.
For each row meeting the criteria mentioned in step 1, perform the following steps:
Create an instance of DhcpPolicyConditionV4 with the following assignments and add it to the Result_PolicyConditions collection.
Copy the PolicyConditionDetails to DhcpPolicyConditionV4 instance.
Return Result_PolicyConditions as the output of the procedure.