3.3.4.19 DBGetScopeFromRecordId
The DBGetScopeFromRecordId 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:
Validate the following are TRUE. If any of the conditions are FALSE, an appropriate SOAP fault MUST be generated:
DBGetScopeFromRecordId.recordId MUST NOT be 0.
DBGetScopeFromRecordId.addressFamily MUST be either InterNetwork or InterNetworkV6.
Call the procedure GetScopeFromTable of ADM_DHCPScopesTable by passing DBGetScopeFromRecordId.recordId as Param_Id and DBGetScopeFromRecordId.addressFamily as Param_addressfamily.
Assign Result_scope to DBGetScopeFromRecordIdResponse.DBGetScopeFromRecordIdResult.