Negotiating the TDS protocol level

Gateway applications using event handler passthrough mode facilitate the negotiation of the TDS protocol level between client application and target server in exactly the same way as applications using regular passthrough mode.

Inside the application’s connection handler, after setting SRV_FULLPASSTHRU to CS_TRUE, call the srv_getloginfo, ct_setloginfo, ct_getloginfo, and srv_setloginfo routines.

For more information on calling these routines, see “Negotiating the TDS protocol level in passthrough mode”.