3.5.4.8.1.83 DhcpSuperscopeBySuperscopeAndServerNameEnumerationParameters
The DhcpSuperscopeBySuperscopeAndServerNameEnumerationParameters processing is done when the EnumInputParameters contains data of type DhcpSuperscopeBySuperscopeAndServerNameEnumerationParameters. The ObjectType MUST be EnumerationObjectType.DHCPSuperscope. This is used to retrieve the DHCP superscope in the system with the specified superscope name and server name.
The following procedure identifies the row to be returned as a part of the enumeration:
If DhcpSuperscopeBySuperscopeAndServerNameEnumerationParameters.ServerName is NULL or empty string, goto step 3.
Enumerate all the rows in the ADM_DHCPServerTable and retrieve the row with DhcpSuperscopeBySuperscopeAndServerNameEnumerationParameters.ServerName. Store the ServerId in a local variable serverId. If no such row is found, an appropriate SOAP fault MUST be generated.
If DhcpScopeByPrefixAndServerNameEnumerationParameters.SuperscopeName is NULL or empty string, an appropriate SOAP fault MUST be generated.
Enumerate all the rows in the ADM_DHCPSuperscopeTable and retrieve the row with ServerId as local variable serverId and Name as DhcpSuperscopeBySuperscopeAndServerNameEnumerationParameters.SuperscopeName.
If such a row is found, add the returned result to EnumOutputData else return an empty collection.