Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » UltraLite - M-Business Anywhere 编程 » UltraLite for M-Business Anywhere API 参考 » Connection 类

 

close 方法

关闭此连接。

语法
close()
注释

连接关闭后就无法重新打开。要重新打开连接,必须创建一个新的连接对象,然后再将其打开。

使用与已关闭的连接相关联的任何对象(如表或模式)均为错误。

在 JavaScript 中,已关闭的连接对象在关闭后不会自动设置为 NULL。建议在关闭连接后,将连接对象显式设置为 NULL。