SQLGetConnectAttr

This function returns the current settings for the specified connection option.

Syntax :

RETCODE SQLGetConnectAttr (hdbc, fAttr, vParam, bLen, sLen);

Arguments:

The arguments for SQLGetConnectAttr are listed in below table.

TypeNameDescription
SQLHDBChdbcConnection handle
SQLINTEGERfAttrAttribute to retrieve
SQLPOINTERvParamValue associated with fAttr Depending on the value of fAttr
SQLINTEGERbLenMaximum number of bytes to store in pvParm|
SQLINTEGER *sLenLength of the output data, if the attribute is a character string; otherwise, unused
Page last modified on September 25, 2009, at 12:13 PM