3.3.4.142 TaskNextRuntime

The TaskNextRuntime operation can be used to retrieve the next runtime of the specific task.

 <wsdl:operation name="TaskNextRuntime">
   <wsdl:input wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/TaskNextRuntime" message="ipam:IIpamServer_TaskNextRuntime_InputMessage" />
   <wsdl:output wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/TaskNextRuntimeResponse" message="ipam:IIpamServer_TaskNextRuntime_OutputMessage" />
 </wsdl:operation>

Upon receiving the IIpamServer_TaskNextRuntime_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_TaskNextRuntime_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 TaskNextRuntime.taskType is not IpamTaskType.None. Otherwise an appropriate SOAP fault MUST be generated.

  2. Enumerate the row in ADM_Tasks whose TaskType value is specified as TaskNextRuntime.taskType.

  3. If an entry is not found, an appropriate SOAP fault MUST be returned.

  4. If an entry is found, assign NextRuntime of the task entry to TaskNextRuntimeResponse. TaskNextRuntimeResult.