Sets a connection name for the suspend and restore operation, for UltraLite ODBC. This function is specific to UltraLite and is not part of the ODBC standard.
UL_FN_SPEC SQLRETURN UL_FN_MOD SQLSetConnectionName (
SQLHSTMT StatementHandle,
SQLTCHAR * ConnectionName,
SQLSMALLINT NameLength );
StatementHandle A statement handle.
ConnectionName A pointer to a buffer holding the connection name.
NameLength The length of *ConnectionName
SQLSetConnectionName is used to provide a connection name for use in the suspend and restore operation, together with SQLSetSuspend. Set the connection name before opening a connection to restore application state.