3.1.1.1.52.2.1 GetDnsConditionalForwarderFromTable
The GetDnsConditionalForwarderFromTable procedure retrieves the DnsConditionalForwarder (section 2.2.4.177) for the specified record identifier.
It uses the following input parameter.
Param_Id: The RecordId of the DNS conditional forwarder for which the DnsConditionalForwarder data is being requested.
The following is the output parameter.
Result_conditionalForwarder: The DnsConditionalForwarder corresponding to the specified record identifier.
The following processing steps are performed:
Look up the ADM_DNSConditionalForwarderTable for the row with the RecordId value equal to Param_Id.
Initialize Result_conditionalForwarder to DnsConditionalForwarder and assign the following values.
Assign Name to Result_conditionalForwarder.Name.
Assign RecordId to Result_conditionalForwarder.RecordId.
Assign ServerRoleId to Result_conditionalForwarder.DnsServerId.
Copy the DnsConditionalForwarderDetails to Result_conditionalForwarder.
Call GetAccessScopeForObjectIdAndType of ADM_AccessScopeAssociationTable passing the following parameters:
Param_objectId is set to Param_Id.
Param_objectType is set to IpamObjectType.DNSConditionalForwarder.
Param_accessScopeId.
Param_objectInheritanceStatus.
Param_inheritanceId.
Assign Param_accessScopeId to Result_conditionalForwarder.AccessScopeId.
Assign Param_objectInheritanceStatus to Result_conditionalForwarder.IsInheritedAccessScope.
Return Result_conditionalForwarder as the output parameter of this procedure.