KI_CONNECT_GET_ATTR

Get connection attribute

Synopsis:
CALL KI_CONNECT_GET_ATTR connection, eAttr TO value, [status]
status = 'ki_connect_get_attr( connection, eAttr, value )
ArgumentEnumerationPurpose
connectionConnection handle
eAttrKDB_CONNECT_ATTR_ENUMattribute
valueValue
statusKDB_ERROR_ENUMReturn status
>KI_CONNECT_GET_ATTR

KI_CONNECT_GET_ATTR

This function is used to inspect attributes of a connnection handle. Generally these attributes were set using the complementary KI_CONNECT_SET_ATTR function after the connection handle has been allocated with KI_ALLOC_CONNECT but before the connection is established with KI_CONNECT. However attributes can be inspected at any time in the life of a connection.

Valid attributes and the enumeration that define them may be found in this page and in the constants list here.

History
Introduced in KCML 6.60
See Also:
KI_ALLOC_CONNECT, KI_CLEAR, KI_CONNECT, KI_CONNECT_GET_ATTR_STR, KI_CONNECT_SET_ATTR, KI_CONNECT_SET_ATTR_STR, KI_DISCONNECT, KI_ERROR, KI_ERROR_TEXT, KI_FREE_CONNECT, KI_GET_ERROR_TEXT, KI_GET_LANGUAGES, KI_HANDLE_GET_ATTR_POOL, KI_INFO, KI_REDIR_CONNECT, KI_SET_LANGUAGE, KI_SET_LANGUAGES
KCML database status codes