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
)<OperationContractAttribute>
<WebGetAttribute(ResponseFormat := WebMessageFormat.Json, UriTemplate := "SetEnqueueResizeFTPAccount/{jsonp}/{userName}/{token}/{ftpSize}")>
Function SetEnqueueResizeFTPAccount (
jsonp As String,
userName As String,
token As String,
ftpSize As String
) As Stream[OperationContractAttribute]
[WebGetAttribute(ResponseFormat = WebMessageFormat::Json, UriTemplate = L"SetEnqueueResizeFTPAccount/{jsonp}/{userName}/{token}/{ftpSize}")]
Stream^ SetEnqueueResizeFTPAccount(
String^ jsonp,
String^ userName,
String^ token,
String^ ftpSize
)[<OperationContractAttribute>]
[<WebGetAttribute(ResponseFormat = WebMessageFormat.Json, UriTemplate = "SetEnqueueResizeFTPAccount/{jsonp}/{userName}/{token}/{ftpSize}")>]
abstract SetEnqueueResizeFTPAccount :
jsonp : string *
userName : string *
token : string *
ftpSize : string -> Stream
function SetEnqueueResizeFTPAccount(
jsonp : String,
userName : String,
token : String,
ftpSize : String
) : Stream
Parameters
- jsonp
- Type: SystemString
- userName
- Type: SystemString
- token
- Type: SystemString
- ftpSize
- Type: SystemString
Return Value
Type:
Stream
Examples
private static void ResizeFTPAccount(WsEndUserClient client, int ftpSize)
{
try
{
WsResult result = client.SetEnqueueResizeFTPAccount(ftpSize);
if (!result.Success)
throw new ApplicationException(result.ResultMessage);
}
catch (Exception ex)
{
throw new ApplicationException(ex.Message);
}
}
See Also