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