The following are properties of ULSyncParms:
Syntax |
Description |
---|---|
CheckpointStore As Boolean |
If true, adds checkpoints of the database during synchronization to limit database growth during the synchronization process. This is most useful for large downloads with many updates. |
DownloadOnly As Boolean |
Indicates if a synchronization only downloads data. |
KeepPartialDownload As Boolean |
If the synchronization fails during download because of a communications error, apply those changes that were successfully downloaded, rather than rolling back all the changes. |
NewPassword As String |
Change a user password to this new password string on the next synchronization. |
Password As String |
The password corresponding to a given user name. |
PingOnly As Boolean |
If true, check the server for liveness, but do not synchronize data. |
PublicationMask As Long |
Specify the publications to synchronize. The default is to synchronize all data. |
ResumePartialDownload As Boolean |
Resume a synchronization that failed during download because of a communications error, applying only those changes that were scheduled to be downloaded in the failed synchronization. |
SendColumnNames As Boolean |
If SendColumnNames is true, column names are sent to the MobiLink server. |
SendDownloadAck As Boolean |
If SendDownloadAck is true, a download acknowledgement is sent during synchronization. |
Stream As ULStreamType constants |
Set the type of stream to use during synchronization. |
StreamParms As String |
Set network protocol options for the given stream type. See Stream Parameters synchronization parameter and Network protocol options for UltraLite synchronization streams. |
TableOrder As String |
Specify Table synchronization order. |
UploadOnly As Boolean |
Indicates whether a synchronization only uploads data. |
UserName As String |
The MobiLink user name for synchronization. |
Version As String |
The synchronization script version to run. |
The following example sets synchronization parameters for an UltraLite for MobileVB application.
With Connection.SyncParms .UserName = "afsample" .Stream = ULStreamType.ulTCPIP .Version = "ul_default" End With Connection.Synchronize