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

SQL Anywhere 11.0.1 (中文) » QAnywhere » QAnywhere 参考 » QAnywhere Java API 参考 » 用于客户端的 QAnywhere Java API » QAManagerFactory 类

 

createQAManager 方法

语法
abstract QAManager QAManagerFactory.createQAManager(
  String iniFile
)
throws QAException
参数
  • iniFile   用于配置 QAManager 实例的属性文件,若为空值则使用缺省属性创建 QAManager 实例。

抛出条件
  • 如果创建管理器时存在问题,则抛出。

注释

返回带有指定属性的新 QAManager 实例。

如果 iniFile 参数为空值,则使用缺省属性创建 QAManager。在创建实例后,可以使用 QAManagerBase setproperty 方法以编程方式设置 QAManager 属性。

另请参见

QAManager 接口

返回值

一个新的 QAManager 实例。