Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » UltraLite - .NET Programming » UltraLite .NET 2.0 API reference » ULDatabaseManager class

 

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