3.3.4.11 DBGetScopeFromNetworkIDAndServer
This operation can be used to retrieve the DHCP scope instance with the specified scope and on the specified server.
-
<wsdl:operation name="DBGetScopeFromNetworkIDAndServer"> <wsdl:input wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/DBGetScopeFromNetworkIDAndServer" message="ipam:IIpamServer_DBGetScopeFromNetworkIDAndServer_InputMessage" /> <wsdl:output wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/DBGetScopeFromNetworkIDAndServerResponse" message="ipam:IIpamServer_DBGetScopeFromNetworkIDAndServer_OutputMessage" /> </wsdl:operation>
Upon receiving the IIpamServer_DBGetScopeFromNetworkIDAndServer_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_DBGetScopeFromNetworkIDAndServer_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.
DBGetScopeFromNetworkIDAndServer.dhcpServerRecordId MUST NOT be 0.
DBGetScopeFromNetworkIDAndServer.addressFamily MUST be either Internet or InternetV6.
Lookup the ADM_DHCPScopesTable for the row which meets the following condition. The DBGetScopeFromNetworkIDAndServer.addressFamily is used to determine the simple table within ADM_DHCPScopesTable on which the processing has to be done.
DHCPServerRecordId is equal to DBGetScopeFromNetworkIDAndServer.dhcpServerRecordId.
ScopeDetails.ScopeId equals DBGetScopeFromNetworkIDAndServer.scopeId.
If a row is found, call the procedure GetScopeFromTable passing RecordId of the row as Param_Id and DBGetScopeFromNetworkIDAndServer.addressFamily as Param_addressfamily.
Assign Result_scope to DBGetScopeFromNetworkIDAndServerResponse.DBGetScopeFromNetworkIDAndServerResult.