This operation can be used to determine the number of configured forward lookup zones hosted on the list of specified servers.

 <wsdl:operation name="GetNumberOfForwardLookupZonesForServers">
   <wsdl:input wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/GetNumberOfForwardLookupZonesForServers" message="ipam:IIpamServer_GetNumberOfForwardLookupZonesForServers_InputMessage" />
   <wsdl:output wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/GetNumberOfForwardLookupZonesForServersResponse" message="ipam:IIpamServer_GetNumberOfForwardLookupZonesForServers_OutputMessage" />

Upon receiving the IIpamServer_GetNumberOfForwardLookupZonesForServers_InputMessage request message, the server performs the following processing steps. Upon successful completion of the steps specified below, the server MUST respond with the IIpamServer_GetNumberOfForwardLookupZonesForServers_OutputMessage message. In the event of a failure, an appropriate SOAP fault MUST be sent to the client as specified in section

  1. Initialize GetNumberOfForwardLookupZonesForServersResponse.GetNumberOfForwardLookupZonesForServersResult to an empty collection of key-value pair where key specifies the RecordId of the DNS server and the value specifies the number of DNS zones hosted on the specified server.

  2. If the GetNumberOfForwardLookupZonesForServers.dnsServers is null or the number of elements in it is 0, return the GetNumberOfForwardLookupZonesForServersResponse.GetNumberOfForwardLookupZonesForServersResult.

  3. Enumerate the unique ServerRecordId in ADM_DnsServerForwardLookupZoneTable. For each ServerRecordId, count the number of rows specifying the server to zone mapping.

  4. Add the ServerRecordId as the key and the count of the number of zone mappings as the value to GetNumberOfForwardLookupZonesForServersResponse.GetNumberOfForwardLookupZonesForServersResult.