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 desktop connection parameter prefix

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

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

Syntax
desktop:connection-parameter=value
Remarks

Use the desktop 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 desktop, and the cache_size for the mobile device:

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