📄 connection_nativehandles.html
字号:
=<BR>
(ssConnectionHandles *)pResult;</P>
<P><FONT
face="Times New Roman"><STRONG><FONT color=maroon
face="">Available handles:</FONT></STRONG></FONT>
</P>
<UL>
<LI><FONT face="Times New Roman">PDBPROCESS
m_dbproc;</FONT></LI></UL>
</FONT><FONT
face="Times New Roman"></FONT></td>
</tr>
<TR>
<TD><STRONG><A
href="../ServerSpecific/Sybase.html" title="Sybase server specific information">Sybase</A></STRONG>
<TD>
<P><STRONG><FONT color=maroon
face="">Cast the result</FONT></STRONG> to <STRONG
>class
sybConnectionHandles</STRONG>:</P><FONT face=System><FONT face=System>
<P><STRONG><FONT color=maroon face="">#include
<sybAPI.h></FONT> </STRONG></P>
<P>saConnectionHandles *pResult =
con.NativeHandles</FONT>();<BR>sybConnectionHandles *p_ssCH
=<BR>
(sybConnectionHandles *)pResult;</P>
<P><FONT
face="Times New Roman"><STRONG><FONT color=maroon
face="">Available handles:</FONT></STRONG></FONT>
</P>
<UL>
<LI><FONT face="Times New Roman">CS_CONNECTION
*m_connection;</FONT>
</FONT></LI></UL></TD>
<tr>
<td>
<p><STRONG><A
href="../ServerSpecific/DB2.html" title="DB2 server specific information">DB2</A></STRONG> </p></td>
<td>
<P><STRONG><FONT color=maroon
face="">Cast the result</FONT></STRONG> to <STRONG
>class
db2ConnectionHandles</STRONG>:</P><FONT face=System><FONT face=System>
<P><STRONG><FONT color=maroon face="">#include
<db2API.h></FONT> </STRONG></P>
<P>saConnectionHandles *pResult =
con.NativeHandles</FONT>();<BR>db2ConnectionHandles *p_ssCH
=<BR>
(db2ConnectionHandles *)pResult;</P>
<P><FONT
face="Times New Roman"><STRONG><FONT color=maroon
face="">Available handles:</FONT></STRONG></FONT>
</P>
<UL>
<LI><FONT face="Times New Roman">SQLHENV
m_hevn;</FONT>
<LI><FONT face="Times New Roman">SQLHDBC
m_hdbc;</FONT></LI></UL>
</FONT></td>
</tr>
<tr>
<td>
<p><STRONG><A
href="../ServerSpecific/Informix.html" title="Informix server specific information">Informix</A></STRONG>
</p></td>
<td>
<P><STRONG><FONT color=maroon
face="">Cast the result</FONT></STRONG> to <STRONG
>class
infConnectionHandles</STRONG>:</P><FONT face=System><FONT face=System>
<P><STRONG><FONT color=maroon face="">#include
<infAPI.h></FONT> </STRONG></P>
<P>saConnectionHandles *pResult =
con.NativeHandles</FONT>();<BR>infConnectionHandles *p_ssCH
=<BR>
(infConnectionHandles *)pResult;</P>
<P><FONT
face="Times New Roman"><STRONG><FONT color=maroon
face="">Available handles:</FONT></STRONG></FONT>
</P>
<UL>
<LI><FONT face="Times New Roman">SQLHENV
m_hevn;</FONT>
<LI><FONT face="Times New Roman">SQLHDBC
m_hdbc;</FONT></LI></UL>
</FONT></td>
</tr>
<tr>
<td>
<p><STRONG><A
href="../ServerSpecific/InterBase.html" title="InterBase server specific information">InterBase</A></STRONG></p></td>
<td>
<P><STRONG><FONT color=maroon
face="">Cast the result</FONT></STRONG> to <STRONG
>class
ibConnectionHandles</STRONG>:</P><FONT face=System><FONT face=System>
<P><STRONG><FONT color=maroon face="">#include
<ibAPI.h></FONT> </STRONG></P>
<P>saConnectionHandles *pResult =
con.NativeHandles</FONT>();<BR>ibConnectionHandles *p_ibCH
=<BR>
(ibConnectionHandles *)pResult;</P>
<P><FONT
face="Times New Roman"><STRONG><FONT color=maroon
face="">Available handles:</FONT></STRONG></FONT>
</P>
<UL>
<LI><FONT face="Times New Roman">isc_db_handle
m_db_handle;</FONT>
<LI><FONT face="Times New Roman"></FONT><FONT
face="Times New Roman">isc_tr_handle
m_tr_handle;</FONT></LI></UL>
</FONT></td>
</tr>
<tr>
<td>
<p><STRONG><A
href="../ServerSpecific/SQLBase.html" title="SQLBase server specific information">SQLBase
6</A>
</STRONG></p></td>
<td>
<P><STRONG><FONT color=maroon
face="">Cast the result</FONT></STRONG> to <STRONG
>class
sb6ConnectionHandles</STRONG>:</P><FONT face=System><P>
<STRONG><FONT color=maroon face="">#include
<sbAPI.h></FONT> </STRONG></P>
<P>saConnectionHandles *pResult =
con.NativeHandles();<BR>sb6ConnectionHandles *p_sb6CH
=<BR>
(sb6ConnectionHandles *)pResult;</P>
<P><FONT
face="Times New Roman"><STRONG><FONT color=maroon
face="">Available handles:</FONT></STRONG></FONT>
</P>
<UL>
<LI><FONT face="Times New Roman">SQLTCUR
m_cur;</FONT></LI></UL>
</FONT></td>
</tr>
<tr>
<td><p><STRONG><A
href="../ServerSpecific/SQLBase.html" title="SQLBase server specific information">SQLBase 7</A>
</STRONG></p></td>
<td><P><STRONG><FONT color=maroon
face="">Cast the result</FONT></STRONG> to <STRONG>class sb7ConnectionHandles</STRONG>:</P>
<FONT face=System>
<P><STRONG ><FONT face=System><FONT color=maroon
face="">#include <sbAPI.h></FONT> </STRONG>
</FONT></P>
<P><FONT
face=System><FONT>saConnectionHandles *pResult =
con.NativeHandles</FONT></FONT></FONT><FONT><FONT
face=System>();<BR > sb7ConnectionHandles *p_sb7CH
=<BR>
(sb7ConnectionHandles
*)pResult;</FONT></FONT></P><FONT><FONT face=System>
<P><FONT
face="Times New Roman"><STRONG><FONT color=maroon
face="">Available handles:</FONT></STRONG></FONT>
</P>
<UL>
<LI><FONT face="Times New Roman">SQLTCUR
m_cur;</FONT>
<LI><FONT face="Times New Roman">SQLTCON
m_hCon;</FONT></LI></UL></FONT></FONT>
</td>
</tr>
<tr>
<td >
<p><STRONG><A
href="../ServerSpecific/MySQL.html" title="MySQL server specific information">MySQL</A></STRONG>
</p></td>
<td>
<P ><STRONG><FONT color=maroon
face="">Cast the result</FONT></STRONG> to <STRONG>class myConnectionHandles</STRONG>:</P>
<P ><FONT color=maroon
face=System>#include <myAPI.h></FONT>
</P>
<P ><FONT face=System>saConnectionHandles *pResult =
con.NativeHandles();<BR >
myConnectionHandles *p_myCH
=<BR>
(myConnectionHandles *)pResult;</FONT></P><FONT face=System>
<P><FONT
face="Times New Roman"><STRONG><FONT color=maroon
face="">Available handles:</FONT></STRONG></FONT>
</P>
<UL>
<LI><FONT face="Times New Roman"><FONT
face="Times New Roman">MYSQL
*mysql</FONT> ;
</FONT></LI></UL>
</FONT></td>
</tr>
<tr>
<td >
<p><STRONG><A
href="../ServerSpecific/PostgreSQL.html" title="PostgreSQL server specific information">PostgreSQL</A></STRONG>
</p></td>
<td>
<P ><STRONG><FONT color=maroon
face="">Cast the result</FONT></STRONG> to <STRONG>class pgConnectionHandles</STRONG>:</P>
<P ><FONT color=maroon
face=System>#include <pgAPI.h></FONT>
</P>
<P ><FONT face=System>saConnectionHandles *pResult =
con.NativeHandles();<BR >
pgConnectionHandles *p_pgCH
=<BR>
(pgConnectionHandles *)pResult;</FONT></P><FONT face=System>
<P><FONT
face="Times New Roman"><STRONG><FONT color=maroon
face="">Available handles:</FONT></STRONG></FONT>
</P>
<UL>
<LI><FONT face="Times New Roman"><FONT
face="Times New Roman">PGconn *conn</FONT> ;
</FONT></LI></UL>
</FONT></td>
</tr>
<tr>
<td >
<p><STRONG><A
href="../ServerSpecific/ODBC.html" title="ODBC server specific information">ODBC</A></STRONG>
</p></td>
<td>
<P ><STRONG><FONT color=maroon
face="">Cast the result</FONT></STRONG> to <STRONG>class odbcConnectionHandles</STRONG>:</P>
<P ><FONT color=maroon
face=System>#include <odbcAPI.h></FONT>
</P>
<P ><FONT face=System>saConnectionHandles *pResult =
con.NativeHandles();<BR >
odbcConnectionHandles *p_odbcCH
=<BR>
(odbcConnectionHandles *)pResult;</FONT></P><FONT face=System>
<P><FONT
face="Times New Roman"><STRONG><FONT color=maroon
face="">Available handles:</FONT></STRONG></FONT>
</P>
<UL>
<LI><FONT face="Times New Roman">SQLHENV m_hevn;
</FONT>
<LI><FONT face="Times New Roman">SQLHDBC
m_hdbc;</FONT></LI></UL>
</FONT></td>
</tr>
</table></P>
<h3>See also</h3>
<p><A
href="Connection_ClientVersion.html">SAConnection::ClientVersion</A>,
<A href="Connection_NativeAPI.html" target="" >SAConnection::NativeAPI</A>, <A
href="Command_NativeHandles.html">SACommand::NativeHandles</A>
</p>
<h3>Problems and Questions</h3>
<p> If
you haven't found the answer to your questions or
have some problems on using the Library, please, send e-mail to <A href="mailto:howto@sqlapi.com">howto@sqlapi.com</A>.
</p></TD>
<tr></tr></TBODY></TABLE>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -