3.3.4.12 DBGetScopeFromRecordId

This operation can be used to retrieve the DhcpScope instance for the specified record identifier.

 <wsdl:operation name="DBGetScopeFromRecordId">
   <wsdl:input wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/DBGetScopeFromRecordId" message="ipam:IIpamServer_DBGetScopeFromRecordId_InputMessage" />
   <wsdl:output wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/DBGetScopeFromRecordIdResponse" message="ipam:IIpamServer_DBGetScopeFromRecordId_OutputMessage" />
 </wsdl:operation>

Upon receiving the IIpamServer_DBGetScopeFromRecordId_InputMessage request message, the server performs the following processing steps. Upon successful completion of the steps specified below, the server MUST respond with the IIpamServer_DBGetScopeFromRecordId_OutputMessage message.In the event of a failure, an appropriate SOAP fault MUST be sent to the client as specified in section 2.2.2.1.

  1. Validate the following are TRUE. If any of the conditions are FALSE, an appropriate SOAP fault MUST be generated.

    1. DBGetScopeFromRecordId.recordId MUST NOT be 0.

    2. DBGetScopeFromRecordId.addressFamily MUST be either Internet or InternetV6.

  2. Call the procedure GetScopeFromTable of ADM_DHCPScopesTable passing DBGetScopeFromRecordId.recordId as Param_Id and DBGetScopeFromRecordId.addressFamily as Param_addressfamily.

  3. Assign Result_scope to DBGetScopeFromRecordIdResponse.DBGetScopeFromRecordIdResult.