dbSetHostName

Purpose

Sets the specified database connection’s host name.

Format

dbSetHostName(db_id, host_name)
Parameters:
  • db_id (scalar) – database connection index number.

  • host_name (string) – the name to assign to the connection’s host name.

Remarks

For this function to have an effect, it must be called before the database connection is opened with dbOpen().