Click or drag to resize

IWsEndUserGetServerSchedulesLogs Method

Recover log on scheduled operations of a given Cloud Server. By the method GetServerSchedulesLogs() Aruba's WsEndUser you can recover all the logs (between 2 dates) of scheduled operations performed on a particular Cloud Server.

Namespace:  Aruba.Cloud.WsEndUser
Assembly:  Aruba.Cloud.WsEndUser (in Aruba.Cloud.WsEndUser.dll) Version: (
WsResult<ScheduleLog[]> GetServerSchedulesLogs(
	GetServerSchedulesLogsRequest operationRequest


Type: Aruba.Cloud.Provisioning.EntitiesGetServerSchedulesLogsRequest

Return Value

Type: WsResultScheduleLog
The method returns an array containing the data for the ScheduleLog log recovered.
Below is an example of a method call GetServerSchedulesLogs () to Aruba WsEndUser:
private ScheduleLog[] GetServerSchedulesLogs()
  using (WsEndUserClient client = this.WsEndUserClient)
    WsResult result = client.GetServerSchedulesLogs(46, DateTime.Now, DateTime.Now.AddDays(46));

    if (result.Success)
      return result.Value;

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