Method DacSession():getConnectionHandle() Professional
Retrieves the connection handle.
Syntax
:getConnectionHandle( [<cDSName>] ) --> nHandle
Parameters
<cDSName>
A character string with the data source name of a connection must be specified when the DacSession object manages a compound session connected to multiple data sources. The parameter is ignored when the object maintains only a single connection.
Return
The method returns a numeric value which is the connection handle to a data source.
Description
The connection handle cannot be used on the Xbase++ language-level. It is necessary for calling operating system API functions which require the connection handle as a parameter.
Feedback
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.