Skip to Content.
Sympa Menu

freetds - [freetds] Unsupported cs_con_props property CS_SERVERNAME

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Patrick Spinler <spinler.patrick AT mayo.edu>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Unsupported cs_con_props property CS_SERVERNAME
  • Date: Wed, 15 Oct 2003 15:30:18 -0500


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







Archive powered by MHonArc 2.6.24.

Top of Page