public Task EnableDownload() { try { return(VappTemplate.ExecuteVappTemplateAction(this.VcloudClient, this.Reference.href + "/action/enableDownload", (string)null, (string)null, 202)); } catch (Exception ex) { throw new VCloudException(ex.Message); } }
public static Task EnableDownload(vCloudClient client, ReferenceType vAppTemplateRef) { try { string vappActionUrl = vAppTemplateRef.href + "/action/enableDownload"; return(VappTemplate.ExecuteVappTemplateAction(client, vappActionUrl, (string)null, (string)null, 202)); } catch (Exception ex) { throw new VCloudException(ex.Message); } }