getHostName

getHostName — retrieves the host name connection parameter.

Syntax

For C++:

CString getHostName(void);

For Java and C#:

String getHostName(void);

Returns

A string containing the currently set host name.

Description

This method retrieves the host name string set by the setConnectionParms command, or an empty string if it has never been set. The value is not affected by openConnection or the status of the connection.