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

SQL Anywhere 10.0.1 » UltraLite - AppForge Programming » UltraLite for AppForge API Reference

Properties Next Page

ULConnection class

The ULConnection object represents an UltraLite database connection. It provides methods to get database objects like tables to synchronize.

Use WithEvents when receiving synchronization progress

When synchronizing, the ULConnection object can also receive progress information. If you want to receive this information, you must declare your connection WithEvents. You can perform synchronization without declaring your connection WithEvents; however, your connection object does not receive notification of synchronization progress.


To declare a connection WithEvents, in a MobileVB form, use the following syntax:

Public WithEvents Connection As ULConnection

The addition of WithEvents makes receipt of synchronization progress information possible.

CancelSynchronize method
ChangeEncryptionKey method
Close method
Commit method
CountUploadRows method
GetNewUUID method
GetTable method
GrantConnectTo method
LastDownloadTime method
PrepareStatement method
ResetLastDownloadTime method
RevokeConnectFrom method
Rollback method
RollbackPartialDownload method
StartSynchronizationDelete method
StopSynchronizationDelete method
StringToUUID method
Synchronize method
UUIDToString method