IWsEndUserSetEnqueueResizeFTPAccount Method |
Namespace: Aruba.Cloud.WsEndUser
//IWsEndUser.SetEnqueueResizeFTPAccount Method (c# .NET) private static void ResizeFTPAccount(WsEndUserClient client, int ftpSize) { try { //calls the SetEnqueueResizeFTPAccount method, //getting a WsResult object WsResult result = client.SetEnqueueResizeFTPAccount(ftpSize); //if the call fails; it relaunches the error indicating the message if (!result.Success) throw new ApplicationException(result.ResultMessage); } catch (Exception ex) { //relaunches the generic error throw new ApplicationException(ex.Message); } }