3.5.4.7.1.7 DhcpScopeUnmappedEnumerationParameters
This is the processing done when the EnumInputParameters contains data of type DhcpScopeUnmappedEnumerationParameters. The ObjectType MUST be EnumerationObjectType.DhcpScope. This is used to enumerate all the DHCP scopes which are not mapped to any of the address blocks. The DhcpScopeUnmappedEnumerationParameters.AddressFamily is used to determine the simple table within the ADM_DHCPScopesTable compound table on which the processing has to be done. The following are the steps involved in identifying the rows to be returned as a part of the enumeration.
Enumerate the ranges in the ADM_IPRangeTable which meet the following criteria:
ParentIPBlockRecordId is null.
AddressAssignment is Dynamic.
For each of the row enumerated above, perform the following steps to get the associated scopes:
Call the procedure GetScopeFromTable in ADM_DHCPScopesTable with the following parameters:
Param_Id is set to the value of ScopeRecordId of the row enumerated.
Param_addressfamily is assigned the value of DhcpScopeForIpBlockEnumerationParameters.AddressFamily.
Add the returned Result_scope to EnumOutputData.