Collection Contents 上一页 下一页 PDF

UltraLite.NET 用户指南

命名空间 iAnywhere.Data.UltraLite

类 ULDatabaseManager

属性 RuntimeType


指定 UltraLite.NET 运行时类型。使用任何其它 UltraLite.NET API 之前,必须选择运行时类型。

原型 

' Visual Basic
Public Shared Property RuntimeType As ULRuntimeType

// C#
public const ULRuntimeType RuntimeType {get;set;}

属性值 

枚举 ULRuntimeType 值,表示非托管 UltraLite.NET 运行时的类型。

示例 

以下示例选择 UltraLite 引擎运行时并创建一个连接。

' Visual Basic
ULDatabaseManager.RuntimeType = ULRuntimeType.UL_ENGINE_CLIENT
Dim conn As ULConnection = new ULConnection
' The RuntimeType is now locked

// C#
ULDatabaseManager.RuntimeType = ULRuntimeType.UL_ENGINE_CLIENT;
ULConnection conn = new ULConnection();
// The RuntimeType is now locked

Collection Contents 上一页 下一页 PDF