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 参考

 

ConnectionParms 类

指定用于打开与 UltraLite 数据库的连接的参数。

数据库由一个已通过验证的用户 DBA 来创建,其初始口令为 sql。缺省情况下,使用用户 ID DBA 和口令 sql 打开连接。要禁用缺省用户,使用 Connection.revokeConnectFrom。要添加用户或更改用户口令,使用 Connection.grantConnectTo。

当前,任何时候都只能打开一个连接。在某一给定时间,只能有一个数据库处于活动状态。在其它连接处于打开状态时尝试打开与另一数据库的连接会导致出错。


属性
toString 方法