Skip to content

TSQLConnection.HostName

The name of the host computer where the database resides.

Declaration

Source position: sqldb.pp line 308

published property HostName: string;

Description

HostName is the name of the host computer where the database server is listening for connection. An empty value means the local machine is used.

This property must be set prior to activating the connection. Changing it while the connection is active has no effect.

See also

Name Description
TSQLConnection.Role Role in which the user is connecting to the database.
TSQLConnection.Password Password used when authenticating on the database server.
TSQLConnection.UserName The username for authentication on the database server.
TSQLConnection.DatabaseName The name of the database to which connection is required.
TSQLConnection.Charset The character set to be used in this database.