AdsGetTableConnection

Advantage Client Engine

Returns the connection handle associated with a table handle.

Syntax

UNSIGNED32

AdsGetTableConnection (ADSHANDLE hTbl,

ADSHANDLE *phConnect);

Parameters

hTbl (I)

Handle of table or cursor

phConnect (O)

Returned connection handle

Remarks

AdsGetTableConnection returns the connection handle associated with a given table handle. This function can be used to extract a table handle from a table opened by calling AdsOpenTable with a zero for the connection handle. Every table handle has an associated connection handle, no matter how the table handle was generated.

Example

None.

See Also

AdsConnect

AdsGetConnectionType

AdsGetTableHandle

AdsOpenTable