Click or drag to resize

IWsEndUserSetRemoveServerScheduledOperation Method

Deletes an existing scheduled operation. By the method SetRemoveServerScheduledOperation() of Aruba WsEndUser you can delete an existing scheduled operation.

Namespace:  Aruba.Cloud.WsEndUser
Assembly:  Aruba.Cloud.WsEndUser (in Aruba.Cloud.WsEndUser.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
[OperationContractAttribute]
WsResult SetRemoveServerScheduledOperation(
	SetRemoveScheduledOperationRequest operationRequest
)

Parameters

operationRequest
Type: Aruba.Cloud.Provisioning.EntitiesSetRemoveScheduledOperationRequest

Return Value

Type: WsResult
The method returns an object WsResult containing information on the outcome of the method call.
Examples
Below is an example of a method call SetRemoveServerScheduledOperation () to Aruba WsEndUser:
private void RemoveScheduledOperation()
{
  using (WsEndUserClient client = this.WsEndUserClient)
  {
    WsResult result = client.SetRemoveServerScheduledOperation(46);

    if (result.Success)
      return;

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