CS_TDS_VERSION defines the version of the Tabular Data Stream (TDS) protocol that the connection is using.
Because CS_TDS_VERSION is a negotiated login property, its value can change during the login process. An application can set CS_TDS_VERSION to request a TDS level before calling ct_connect. In this case, when ct_connect creates the connection, it looks for the requested TDS version. If the server cannot provide the requested TDS version, a new (lower) TDS version is negotiated. An application can retrieve the value of CS_TDS_VERSION after a connection is established to determine the actual version of TDS in use.
Table 2-9 lists the symbolic values that CS_TDS_VERSION can have.
Value |
Indicates |
Features supported |
---|---|---|
CS_TDS_46 |
4.6 TDS |
Registered procedures, TDS passthrough, negotiable TDS packet size, multi-byte character sets. |
CS_TDS_50 |
5.0 TDS |
Accesses system Adaptive Server 10.0 and above.
|