The ULConnectionParms class specifies parameters for opening a connection to an UltraLite database.
In UltraLite for MobileVB, ensure you have the ULConnectionParms object on your form and you set connection properties in the ConnectionParms dialog. You use the ULConnectionParms object in conjunction with ULDatabaseManager.CreateDatabase and ULDatabaseManager.OpenConnection methods.
NoteDatabases are created with a single authenticated user, DBA, whose initial password is sql. If a user ID and password are not supplied, connections are opened using the user ID DBA and password sql. |
For more information about the meaning of these parameters, see UltraLite Connection String Parameters Reference.
Syntax |
Description |
---|---|
CacheSize As String (read-write) |
The size of the cache. CacheSize values are specified in bytes. Use the suffix k or K for kilobytes and use the suffix m or M for megabytes. The default cache size is sixteen pages. Given a default page size of 4 KB, the default cache size is 64 KB. |
ConnectionName As String (read-write) |
A name for the connection. This is needed only if you create more than one connection to the database. |
DatabaseOnCE As String (read-write) |
The file name of the database deployed to Windows CE. |
DatabaseOnDesktop As String (read-write) |
The file name of the database during development. |
DatabaseOnPalm As String (read-write) |
The creator ID for the UltraLite database on the Palm device. |
DatabaseOnSymbian As String (read-write) |
The file name of the database on Symbian OS device. |
EncryptionKey As String (read-write) |
A key for encrypting the database. OpenConnection must use the same key as specified during database creation. Recommended guidelines for keys are:
|
PalmCreatorID As String (read-write) |
A registered four digit Palm creator ID. |
Password As String (read-write) |
The password for an authenticated user. Databases are initially created with one authenticated user (DBA) with password sql. Passwords are case sensitive. |
ToString As String | The connection string, as built from the current property settings. |
UserID As String (read-write) |
The authenticated user for the database. Databases are initially created with one authenticated user DBA. The UserID is case insensitive if the database is case insensitive and case sensitive if the database is case sensitive. The default value is DBA. |