Click or drag to resize

IWsEndUserGetScheduledOperations Method

The aim of the method is to output a list of date occurrences of active scheduled operations of a user between a startdate and enddate. An optional scheduleoperationID can be specified in input
Retrieve operations including scheduled between the two dates. By the method GetScheduledOperations () of Aruba WsEndUser you can retrieve all scheduled operations between 2 dates and belonging to the authenticated user.

Namespace:  Aruba.Cloud.WsEndUser
Assembly:  Aruba.Cloud.WsEndUser (in Aruba.Cloud.WsEndUser.dll) Version: (
WsResult<ScheduledOperation[]> GetScheduledOperations(
	GetScheduledOperationRequest operationRequest


Type: Aruba.Cloud.Provisioning.EntitiesGetScheduledOperationRequest
  • StartDate - System.DateTime that represents the given lower limit of the search.
  • EndDate - System.DateTime that represents the date upper limit of the search.

Return Value

Type: WsResultScheduledOperation
The method returns an Array of ScheduledOperation containing information relating to the operations scheduled recovered.
Below is an example of a method call GetScheduledOperations() to Aruba WsEndUser:
private ScheduledOperation[] GetScheduledOperations()
  using (WsEndUserClient client = this.WsEndUserClient)
    WsResult result = client.GetScheduledOperations(DateTime.Now, DateTime.Now.AddDays(46));

    if (result.Success)
      return result.Value;

    this.LogError("GetScheduledOperations", new Exception(result.ResultMessage));
    throw new CodedException(result.ResultCode, result.ResultMessage);
See Also