RuntimeType property

Specifies the UltraLite.NET runtime type. The runtime type must be selected before using any other UltraLite.NET API.

Syntax
Visual Basic
Public Shared Property RuntimeType As ULRuntimeType
C#
public static ULRuntimeType RuntimeType { get; set; }
Property value

A ULRuntimeType value identifying the type of the unmanaged UltraLite .NET runtime.

Example

The following example selects the UltraLite Engine runtime and creates a connection.

' 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
See also