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 DnsZoneEventEnumerationParameters processing is done when the EnumInputParameters is of type DnsZoneEventEnumerationParameters. The ObjectType MUST be EnumerationObjectType.DnsZoneEvent. This is used to enumerate the DNS zone specific events either for the specified zone or for the specified DNS server.
The following processing steps identify the rows that need to be returned for the enumeration:
Validate the DnsZoneEventEnumerationParameters to ensure it is not NULL and either DnsServerId is a nonzero value or DnsServerZoneId is specified as a nonzero value but not both. If the condition is not being met, generate an appropriate SOAP fault.
If DnsZoneEventEnumerationParameters.DnsServerZoneId is specified, enumerate the rows in ADM_DNSZoneEventsTable where in DnsServerZoneId is equal to DnsZoneEventEnumerationParameters.DnsServerZoneId.
If DnsZoneEventEnumerationParameters.DnsServerId is specified, enumerate the rows in ADM_DNSServerForwardLookupTable whose DnsServerId is equal to DnsZoneEventEnumerationParameters.DnsServerId. For each of the rows enumerated, enumerate the rows in ADM_DNSZoneEventsTable where DnsServerZoneId is equal to the RecordId of the row in ADM_DNSServerForwardLookupTable.
For the previously enumerated rows, call the procedure GetDnsZoneEventFromTable in ADM_DNSZoneEventsTable with the parameter Param_Id passing the value of RecordId of the row and adding Result_event to EnumOutputData.