<pre>
Use this operation to delete smtp server.
</pre>
341831
public static smtp_server delete(nitro_service client, smtp_server resource) throws Exception
	{
		resource.validate("delete");
		return ((smtp_server[]) resource.delete_resource(client))[0];
	}
188949
public void deleteServer(final de.uniulm.omi.cloudiator.flexiant.client.domain.Server server)
        throws FlexiantException {
        this.deleteServer(server.getId());
    }
513188
public function Close()
    {
        $this->error     = null; // so there is no confusion
        $this->helo_rply = null;
        if (!empty($this->smtp_conn)) {
            // close the connection and cleanup
            fclose($this->smtp_conn);
            $this->smtp_conn = 0;
        }
    }
460725
public void delete() {
        URL url = DEVICE_PIN_URL_TEMPLATE.build(this.getAPI().getBaseURL(), this.getID());
        BoxAPIRequest request = new BoxAPIRequest(this.getAPI(), url, "DELETE");
        BoxAPIResponse response = request.send();
        response.disconnect();
    }
1202738
public static base_response delete(nitro_service client, nsip6 resource) throws Exception {
		nsip6 deleteresource = new nsip6();
		deleteresource.ipv6address = resource.ipv6address;
		deleteresource.td = resource.td;
		return deleteresource.delete_resource(client);
	}
702909
public static base_response unset(nitro_service client, ntpserver resource, String[] args) throws Exception{
		ntpserver unsetresource = new ntpserver();
		unsetresource.serverip = resource.serverip;
		unsetresource.servername = resource.servername;
		return unsetresource.unset_resource(client,args);
	}
408139
def destroy
      parent.lib.virtualbox.remove_dhcp_server(interface)
      parent_collection.delete(self, true)
      true
    end
1242660
public static base_response delete(nitro_service client, sslcertkey resource) throws Exception {
		sslcertkey deleteresource = new sslcertkey();
		deleteresource.certkey = resource.certkey;
		return deleteresource.delete_resource(client);
	}
25821
def delete(self, space_no, *args):
        
        d = self.replyQueue.get()
        packet = RequestDelete(self.charset, self.errors, d._ipro_request_id, space_no, 0, *args)
        self.transport.write(bytes(packet))
        return d.addCallback(self.handle_reply, self.charset, self.errors, None)
362452
public static base_response delete(nitro_service client, snmpmanager resource) throws Exception {
		snmpmanager deleteresource = new snmpmanager();
		deleteresource.ipaddress = resource.ipaddress;
		deleteresource.netmask = resource.netmask;
		return deleteresource.delete_resource(client);
	}
775255
public void destroy()
    {
        __servers.remove(this);
        if (isStarted())
            throw new IllegalStateException("Started");
        if (_listeners!=null)
            _listeners.clear();
        _listeners=null;
        if (_virtualHostMap!=null)
            _virtualHostMap.clear();
        _virtualHostMap=null;
        _notFoundContext=null;

        super.destroy();
    }
169594
public static base_response delete(nitro_service client, String hostname) throws Exception {
		dnsaddrec deleteresource = new dnsaddrec();
		deleteresource.hostname = hostname;
		return deleteresource.delete_resource(client);
	}
86772
public OperationFuture<List<LoadBalancer>> delete(LoadBalancer... loadBalancer) {
        return delete(Arrays.asList(loadBalancer));
    }
723497
private void doRemoveMailServer() throws PageException {
	admin.removeMailServer(getString("admin", action, "hostname"), getString("username", null));
	store();
	adminSync.broadcast(attributes, config);
    }
351966
public void removeServer(InternalInstrumented<ServerStats> server) {
    remove(servers, server);
    ServerSocketMap prev = perServerSockets.remove(id(server));
    assert prev != null;
    assert prev.isEmpty();
  }
607812
public void delete() throws SftpStatusException, SshException {
		if (sftp == null) {
			throw new SshException("Instance not connected to SFTP subsystem",
					SshException.BAD_API_USAGE);
		}

		if (isDirectory()) {
			sftp.removeDirectory(getAbsolutePath());
		} else {
			sftp.removeFile(getAbsolutePath());
		}
	}
1272443
@Override
    public void destroy() {
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
            Tr.debug(tc, "Destroy " + getExternalName());
        }
        // Destroy the server socket
        if (this.endPoint != null) {
            this.endPoint.destroyServerSocket();
        }
        // disconnect from the factory
        if (null != this.channelFactory) {
            this.channelFactory.removeChannel(this.channelName);
        }
    }