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 - .NET 编程 » UltraLite .NET 2.0 API 参考 » ULConnection 类 » ULConnection 构造函数

 

ULConnection() 构造函数

初始化 ULConnection 对象。对数据库进行任何操作前必须打开该连接。

语法
Visual Basic
Public Sub New()
C#
public  ULConnection();
注释

要使用 UltraLite.NET 的 UltraLite 引擎运行时,请在使用任何其它 UltraLite.NET API 之前将 ULDatabaseManager.RuntimeType 设置为适当的值。

打开 ULConnection 对象之前需要先设置 ULConnection.ConnectionString。

另请参见