3.1.1.1.44.2.2 GetAllDhcpFailoverByServerId
The GetAllDhcpFailoverByServerId procedure is used to retrieve a collection of the entire DhcpFailover instances from ADM_DhcpFailoverRelationTable that are associated to a specific DhcpServer.
The following input parameters are used:
Param_DhcpServerId: This is a signed 64-bit integer, which represents a RecordId of type DhcpServer (section 2.2.4.155) for which the failover relationship records need to be retrieved.
Param_failoverCollection: This is a collection of instances of DhcpFailover.
The following processing steps are performed:
Enumerate the rows in ADM_DhcpFailoverRelationTable having either Server1RecordId or Server2RecordId as Param_DhcpServerId.
Initialize Param_failoverCollection.
For each row meeting the criteria mentioned in step 1, perform the following steps:
Create an instance of DhcpFailover with the following assignments and add it to the Param_failoverCollection collection:
Assign DhcpFailover.RecordId with the RecordId of the row.
If Server1RecordId is not 0, copy Server1RecordId into DhcpFailover.Server1RecordId.
If Server2RecordId is not 0, copy Server2RecordId into DhcpFailover.Server2RecordId.
Return from the procedure.