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

📄 tabssession_closedatabase.htm

📁 Absolute Database 5.12 src. Absolute Database lets you forget the Borland Database Engine (BDE). Th
💻 HTM
字号:
<html>
<head>
   <title></title>
</head>

<!--#include virtual="/inc/header.php"-->


<table width="100%" border="0" cellspacing="0" cellpadding="2" bgcolor="#FFFFFF">
  <tr>
    <td align="left">
      
<span style="font-family:Helvetica,Arial; font-size:12pt; color:#000000"><b>TABSSession.CloseDatabase</b><span style="font-family:Helvetica,Arial; font-size:12pt; color:#0000FF"><b>
<br>
</b></span><span style="font-family:Helv; font-size:9pt; color:#000000"><span style="font-family:Helv; font-size:9pt; color:#7F0000"><a href=tabssession.htm>TABSSession</a></span></span><span style="font-family:Helvetica,Arial; font-size:12pt; color:#000000"><b>
<br>
</b></span></span>
    </td>
    <td align="right">
     <font face="Arial" size="2">
     
     <a href="overview.htm">Top</a>&nbsp;
     
     </font>
    </td>
  </tr>
</table>
<br><br>



<span style="font-family:Helvetica,Arial; font-size:10pt; color:#000000">Closes a database connection associated with the current session.
<br>

<br>
<b>procedure</b> CloseDatabase(Database: <a href=tabsdatabase.htm>TABSDatabase</a>);
<br>

<br>
<b>Description</b>
<br>

<br>
Call CloseDatabase to close a persistent database connection, or to close and free a temporary database connection. Database specifies the name of the database component for which to close the connection.
<br>

<br>
CloseDatabase decrements the specified database component's reference count, and then, if the reference count is zero and the database component's KeepConnection property is False, CloseDatabase either frees a temporary database component or closes the connection for a persistent database component.
<br>

<br>
<b>Note</b>:&nbsp;&nbsp;&nbsp;Calling CloseDatabase for a persistent database component does not close the connection. To close a connection for a persistent database component, call the database component's Close method directly.
<br>

<br>
Temporary database components are closed automatically when the last dataset associated with the database component is closed, but an application can call <a href=tabssession_closedatabase.htm>CloseDatabase</a> prior to that time to force closure. Closing a connection established by a temporary database component does not free the component if the session's <a href=tabssession_keepconnections.htm>KeepConnections</a> property is True (the default). To free temporary database components after closing their connections call <a href=tabssession_dropconnections.htm>DropConnections</a>.
<br>
</span>

<!--#include virtual="/inc/footer.php"--> 
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -