Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The IPRangeAllForDhcpServerEnumerationParameters processing is done when the EnumInputParameters contains data of type IPRangeAllForDhcpServerEnumerationParameters. The ObjectType MUST be EnumerationObjectType.IPRange. This is used to enumerate all IP address ranges that correspond to the specified DHCP server.
The following are the steps involved in identifying the rows to be returned as a part of the enumeration:
Find the row in ADM_ServersTable whose ServerGuid matches IPRangeAllForDhcpServerEnumerationParameters.ServerGuid.
Call GetScopesForServer from the ADM_DHCPScopesTable with Param_serverId as RecordId of the enumerated row, and Param_addressfamily as IPRangeAllForDhcpServerEnumerationParameters.AddressFamily.
For each DhcpScope object returned, enumerate all the rows in the ADM_IPRangeTable whose ScopeRecordId matches the RecordId of the object.
Call GetIPRangeFromTable with Param_id as RecordId and Param_addressfamily as IPRangeAllForDhcpServerEnumerationParameters.AddressFamily. Store the returned IPRange object into EnumOutputData.