getServiceName
getServiceName — retrieves the port service name connection parameter (C++
only).
CString getServiceName( | ); |
void;A string containing the currently set port service name.
This method retrieves the port service name string set by the
setConnectionParms command, or an empty
string if it has never been set. If setConnectionParms
was used to set the port directly (as an integer), then the servicename will not
have been set. The value is not affected by
openConnection or the status of the
connection.