Collection Contents Previous Next PDF

UltraLite.NET User's Guide

iAnywhere.Data.UltraLite namespace

ULDatabaseManager class

RuntimeType property


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

Prototypes 

' Visual Basic
Public Shared Property RuntimeType As ULRuntimeType

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

Property value 

A ULRuntimeType enumeration 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

Collection Contents Previous Next PDF