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 DHCPFailoverAllEnumerationParameters processing is done when the EnumInputParameters contains data of type DHCPFailoverAllEnumerationParameters. The ObjectType MUST be EnumerationObjectType.DHCPFailover. This is used to retrieve all the DHCP failover relationships in the system.
The following are the steps to identify the data to be returned as a part of the enumeration:
Enumerate all the rows in ADM_DhcpFailoverRelationTable.
Initialize Result_failoverCollection.
For each row retrieved from ADM_DhcpFailoverRelationTable,create an instance of DhcpFailover with the following assignments and add it to Result_failoverCollection collection:
Assign DhcpFailover.RecordId with RecordId of the row.
If Server1RecordId is not 0, then copy Server1RecordId into DhcpFailover.Server1RecordId.
If Server2RecordId is not 0, then copy Server2RecordId into DhcpFailover.Server2RecordId.
Copy the FailoverDetails into DhcpFailover.
Add all the entries in Result_failoverCollection to EnumOutputData.