 |
SQLSetEnvAttr ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
SQLSetEnvAttr sets attributes that govern aspects of environments. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
SQLRETURN SQLSetEnvAttr(
SQLHENV EnvironmentHandle,
SQLINTEGER Attribute,
SQLPOINTER ValuePtr,
SQLINTEGER StringLength);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE SHORT SQLSetEnvAttr IN odbc32;
INTEGER EnvironmentHandle,;
INTEGER Attribute,;
INTEGER ValuePtr,;
INTEGER StringLength
|
 |
 |
 |
| Parameters: |
 |
EnvironmentHandle
[Input]
Environment handle.
Attribute
[Input]
Attribute to set, listed in "Comments."
ValuePtr
[Input]
Pointer to the value to be associated with Attribute.
StringLength
[Input] If ValuePtr points to a character string or a binary buffer, this argument should be the length of *ValuePtr. If ValuePtr is an integer, StringLength is ignored. |
 |
 |
| Return value: |
 |
| SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE. |
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2002-03-05 12:22:49 | | Modified: | 2002-03-05 12:24:38 | Visited in last 7 days: 15 |