SRV_TDSVERSION

Determines the tabular data stream (TDS) version being used in the client connection for the SRV_PROC structure.

Syntax

int SRV_TDSVERSION ( SRV_PROC * srvproc );

Arguments
srvproc
Is a pointer to the SRV_PROC structure that is the handle for a particular client connection (in this case, the handle for which the TDS version is requested).
Returns

The TDS version constant used by the specified client connection.

Constant Version
SRV_TDS_NONE Invalid TDS version.
SRV_TDS_4_2 The version used by Microsoft® SQL Server™ version 6.x and by Open Data Services version 6.x.
SRV_TDS_7_0 The version used by SQL Server 7.x and by Open Data Services 7.x.

See Also
srv_pfield  

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.