指定 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
SQL Anywhere Studio 9.0.2
版权所有 © 1989–2005 Sybase, Inc. 部分版权所有 © 2001–2005 iAnywhere Solutions, Inc. 保留所有权利。