SQLGetEnvAttr

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

Syntax :

RETCODE SQLGetEnvAttr(henv, Attr, value,bufLen, strLen);

Arguments:

The arguments for SQLGetEnvAttr are listed in below table.

TypeNameDescription
SQLHENVhenvEnvironment handle
SQLINTEGERAttrAttribute to retrieve
SQLPOINTERvalueValue associated with Attr Depending on the value of Attr
SQLINTEGERbufLenMaximum size of buffer pointed to by value, if the attribute value is a character string; otherwise, unused.
SQLINTEGER *strLenLength in bytes of the output data if the attribute value is a character string; otherwise, unused.
Page last modified on September 25, 2009, at 12:10 PM