指定 UltraLite.NET 运行时类型。使用任何其它 UltraLite.NET API 之前,必须选择运行时类型。
Visual Basic Public Shared Property RuntimeType As ULRuntimeType
C# public static 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 |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |