Click or drag to resize

IWsEndUserSetEnqueueResizeFTPAccount Method

The method is aimed to change size of the ftp account owSetEnqueueResizeFTPAccountned by the user calling the method

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 SetEnqueueResizeFTPAccount(
	int FtpSize
)

Parameters

FtpSize
Type: SystemInt32

Return Value

Type: WsResult
Examples
        //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);
    }
}
See Also