⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 connection_nativehandles.html

📁 能够连接各种数据库的API
💻 HTML
📖 第 1 页 / 共 2 页
字号:
                        =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        (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 
                        &lt;sybAPI.h&gt;</FONT> </STRONG></P>
                        <P>saConnectionHandles *pResult = 
                        con.NativeHandles</FONT>();<BR>sybConnectionHandles *p_ssCH 
                        =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        (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 
                        &lt;db2API.h&gt;</FONT> </STRONG></P>
                        <P>saConnectionHandles *pResult = 
                        con.NativeHandles</FONT>();<BR>db2ConnectionHandles *p_ssCH 
                        =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        (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 
                        &lt;infAPI.h&gt;</FONT> </STRONG></P>
                        <P>saConnectionHandles *pResult = 
                        con.NativeHandles</FONT>();<BR>infConnectionHandles *p_ssCH 
                        =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        (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 
                        &lt;ibAPI.h&gt;</FONT> </STRONG></P>
                        <P>saConnectionHandles *pResult = 
                        con.NativeHandles</FONT>();<BR>ibConnectionHandles *p_ibCH 
                        =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        (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 
                        &lt;sbAPI.h&gt;</FONT> </STRONG></P>
                        <P>saConnectionHandles *pResult = 
                        con.NativeHandles();<BR>sb6ConnectionHandles *p_sb6CH 
                        =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        (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 &lt;sbAPI.h&gt;</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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        (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 &lt;myAPI.h&gt;</FONT> 
                         </P>
						<P ><FONT face=System>saConnectionHandles *pResult = 
                        con.NativeHandles();<BR >
			               myConnectionHandles *p_myCH 
                        =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        (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 &lt;pgAPI.h&gt;</FONT> 
                         </P>
						<P ><FONT face=System>saConnectionHandles *pResult = 
                        con.NativeHandles();<BR >
			               pgConnectionHandles *p_pgCH 
                        =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        (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 &lt;odbcAPI.h&gt;</FONT> 
                         </P>
						<P ><FONT face=System>saConnectionHandles *pResult = 
                        con.NativeHandles();<BR >
			               odbcConnectionHandles *p_odbcCH 
                        =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        (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 + -