3.5.4.8.1.15 DHCPPoliciesEnumerationParameters
The DHCPPoliciesEnumerationParameters processing is done when the EnumInputParameters contains data of type DHCPPoliciesEnumerationParameters. The ObjectType MUST be EnumerationObjectType.DHCPPolicy. This is used to enumerate the DHCP policies that meet the specified filter condition in DHCPPoliciesEnumerationParameters.
The following are the steps involved in identifying the rows to be returned as a part of the enumeration:
Enumerate the rows in ADM_DhcpPolicyTable.
Initialize Result_Policies.
For each row, perform the following steps:
Create an instance of DhcpPolicyV4 with the following assignments and add it to Result_Policies collection:
Assign DhcpPolicyV4.PolicyId with PolicyId of the row.
Copy the PolicyDetails to DhcpPolicyV4 instance.
Initialize DhcpPolicyV4.Server with DhcpServerV4.
Assign DhcpPolicyV4.Server.RecordId with Server of the row.
Initialize DhcpPolicyV4.Scope with DhcpScopeV4 and assign DhcpPolicyV4.Scope.RecordId with Scope of the row.
Add the entries in Result_Policies to EnumOutputData.