[freetds] Unsupported cs_con_props property CS_SERVERNAME

Patrick Spinler spinler.patrick at mayo.edu
Wed Oct 15 16:30:18 EDT 2003


In (ancient) Openclient 10.0, ct_con_props supported a CS_GET property 
CS_SERVERNAME, which returned the name of the connected server, like so:

ct_con_props(conn,CS_GET,CS_SERVERNAME,connectionName,sizeof(connectionName),NULL);

This doesn't appear to be in FreeTDS 0.61.  Is there an alternative I 
can use ?

Thanks,
-- Pat





More information about the FreeTDS mailing list