public static Task Delete(vCloudClient client, ReferenceType adminVdcRef) { try { return(AdminVdc.DeleteAdminVdc(client, adminVdcRef.href)); } catch (Exception ex) { throw new VCloudException(ex.Message); } }
public Task Delete() { try { return(AdminVdc.DeleteAdminVdc(this.VcloudClient, this.Reference.href)); } catch (Exception ex) { throw new VCloudException(ex.Message); } }