Click or drag to resize

IJsonpWsEndUserSetEnqueueResizeFTPAccount 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]
[WebGetAttribute(ResponseFormat = WebMessageFormat.Json, UriTemplate = "SetEnqueueResizeFTPAccount/{jsonp}/{userName}/{token}/{ftpSize}")]
Stream SetEnqueueResizeFTPAccount(
	string jsonp,
	string userName,
	string token,
	string ftpSize
)

Parameters

jsonp
Type: SystemString
userName
Type: SystemString
token
Type: SystemString
ftpSize
Type: SystemString

Return Value

Type: Stream
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