Administrative API Reference

sqleDetachFromCtx - Detach From Context

Detaches the context being used by the current thread. The context will be detached only if an attach to that context has previously been made.

Scope

The scope of this API is limited to the immediate process.

Authorization

None

Required Connection

None

Version

sql.h

C API Syntax



int sqleDetachFromCtx (
void           *pCtx,
void           *reserved,
struct sqlca   *pstSqlca);

API Parameters

pCtx
Input. A valid context previously allocated by sqleBeginCtx - Create and Attach to an Application Context.

reserved
Reserved for future use. Must be set to NULL.

pstSqlca
Output. A pointer to the sqlca structure. For more information about this structure, see SQLCA.


[ Top of Page | Previous Page | Next Page ]