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

SQL Anywhere 17 » UltraLite - Database Management and Developer Guide » UltraLite database reference » UltraLite connection parameters

UltraLite device connection parameter prefix

Use the prefix device: with a connection parameter to indicate that the parameter only applies when the application is running on the mobile device.

If the connection parameter is appropriate for both desktop and mobile device, then do not use the prefix.

Syntax
device:connection-parameter=value
Remarks

Use the device connection parameter prefix for UltraLite client applications that run on a variety of devices.

Connection parameters with a desktop or device prefix take precedence over parameters without a prefix.

Example

The following example identifies different database files for the desktop and the mobile device, the location of the temporary directory on the mobile device, and the cache_size for the mobile device:

"desktop:DBF=C:\dir\db.udb;device:DBF=\SD Card\db.udb;device:temp_dir=\Temp;device:cache_size=4M"