KI_CONNECT_SET_ATTR_STR
Argument | Enumeration | Purpose |
---|---|---|
connection | Connection handle | |
eAttr | KDB_CONNECT_ATTR_ENUM | attribute |
sValue$ | Value | |
status | KDB_ERROR_ENUM | Return status |
sPrevious$ | Previous value |
KI_CONNECT_SET_ATTR_STR
This function is used to control string attributes of a connnection handle. Some attributes need to be set after the connection handle has been allocated with KI_ALLOC_CONNECT but before the connection is established with KI_CONNECT, and others immediately after the connection but before any handles are allocated, however some attributes can be set at any time. See the documentation for the individual attributes.
The complementary function KI_CONNECT_GET_ATTR_STR can be used at any time to get the current value of an attribute.
Valid attributes and the enumeration that define them may be found in this page and in the constants list here.