3.3.4.90 GetPolicyConditionFromDB
The GetPolicyConditionFromDB operation is used to get the ipam:DhcpPolicyConditionV4 for an ipam:DhcpPolicyv4.
-
<wsdl:operation name="GetPolicyConditionFromDB"> <wsdl:input wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/GetPolicyConditionFromDB" message="ipam:IIpamServer_GetPolicyConditionFromDB_InputMessage" /> <wsdl:output wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/GetPolicyConditionFromDBResponse" message="ipam:IIpamServer_GetPolicyConditionFromDB_OutputMessage" /> </wsdl:operation>
The protocol client sends an IIpamServer_GetPolicyConditionFromDB_InputMessage request. The server then performs the following processing steps. When the operation completes successfully, the protocol server MUST respond with the IIpamServer_GetPolicyConditionFromDB_OutputMessage response. In the event of a failure, an appropriate SOAP fault MUST be sent to the client as specified in section 2.2.2.1:
Call the procedure GetPolicyConditionsForPolicyId in ADM_DhcpPolicyConditionTable with parameter GetPolicyConditionFromDB.policyId. This procedure returns a collection of ipam:DhcpPolicyConditionV4 objects. Assign the returned objects to tempVar.collectionOfPolicyCondition.
Create a new DhcpPolicyConditionV4 object called tempVar.combinedPolicyCondition and initialize it.
Iterate through the objects in tempVar.collectionOfPolicyCondition and combine their data member values into the data member of tempVar.combinedPolicyCondition.
tempVar.combinedPolicyCondition is passed in the output message.