3.1.1.1.45.2.1 GetDhcpFailoverScopes
The GetDhcpFailoverScopes procedure retrieves all the DHCP scopes that participate in the given DHCP failover relationship.
The following are the input parameters to this procedure:
Param_Failover: Of type DhcpFailover.
Param_scopeCollection: This is an output parameter that is a collection of type DhcpScope. This collection contains all the DhcpScope instances that are part of a specific DHCP failover relationship.
The following are the steps involved in the processing:
Enumerate all the rows in ADM_DhcpScopeFailoverTable that have FailoverRelationId as Param_Failover.RecordId.
Initialize Param_scopeCollection.
For each row meeting the criteria mentioned in step 1, perform the following steps.
Call GetScopeFromTable procedure on ADM_DHCPScopesTable with the following parameters:
Param_Id is set to ScopeId.
Param_addressFamily is set to AddressFamily.InterNetwork.
If Result_scope is not NULL, then add it to Param_scopeCollection.
Return from the procedure.