def DbExportDevice(self, argin):
    """ Export a device to the database

    :param argin: Str[0] = Device name
    Str[1] = CORBA IOR
    Str[2] = Device server process host name
    Str[3] = Device server process PID or string ``null``
    Str[4] = Device server process version
    :type: tango.DevVarStringArray
    :return:
    :rtype: tango.DevVoid """
    self._log.debug("In DbExportDevice()")
    if len(argin) < 5:
        self.warn_stream("DataBase::DbExportDevice(): insufficient export info for device ")
        th_exc(DB_IncorrectArguments,
               "insufficient export info for device",
               "DataBase::ExportDevice()")

    dev_name, IOR, host, pid, version = argin[:5]
    dev_name = dev_name.lower()
    if pid.lower() == 'null':
        pid = "-1"
    self.db.export_device(dev_name, IOR, host, pid, version)