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

SQL Anywhere 11.0.1 (中文) » UltraLiteJ » UltraLiteJ 参考 » UltraLiteJ API 参考 » Configuration 接口

 

setPassword 方法

设置数据库口令。

语法
Configuration Configuration.setPassword(
  String password
) throws ULjException
参数
  • password   用于新数据库的口令,或用于访问现有数据库的口令。

注释

口令用于获取对数据库的访问权限,并且必须与创建数据库时指定的口令相一致。缺省值为 "dba"。

返回值

设置了口令的 Configuration 对象。