The MLSynchronization object is an abstract class from which MLSync objects are derived.
MLSynchronization property |
Datatype |
Description |
---|---|---|
String |
Used to pass additional dbmlsync options. |
|
String |
Used with authenticate_parameters connection script. |
|
String |
Contains error and diagnostic messages generated when a function is called incorrectly. |
|
String |
Extended dbmlsync options. |
|
String |
The machine name for the synchronization server. |
|
String |
Creates a log file at this path if UseLogFile=true. |
|
String |
Additional dbmlsync options to control logging output. |
|
String |
The MobiLink password passed to the synchronization server. |
|
Long |
The version of the SQL Anywhere remote database and synchronization server. |
|
String |
The MobiLink user name passed to the synchronization server. |
|
Long |
At runtime, if a new ObjectRevision value is detected, the default property values are written to the Windows Registry and used to initialize objects of type MLSync. For subsequent synchronizations, MLSync is initialized using the property values obtained from the Windows registry. |
|
String |
The port number for the synchronization server. |
|
SyncProcessType (enumerated) |
Sets the direction for synchronization. Values are DownloadOnly!, UploadOnly!, and Bidirectional! (default). |
|
String |
Name of a user-defined customized window or a window generated by the MobiLink synchronization wizard to indicate synchronization progress. |
|
String |
The publication to be processed. |
|
String |
Location in the Windows registry where MLSync property values from a previous synchronization are stored. |
|
Boolean |
If true, creates a synchronization log. |
|
Boolean |
Used by the synchronization wizard to determine whether to create a progress window to display status information about the synchronization process. |
|
Window |
Synchronization progress window. |
MLSynchronization event |
Occurs |
---|---|
At the beginning of the download procedure |
|
At the beginning of the synchronization |
|
At the beginning of the upload procedure |
|
When the MobiLink synchronization server connects to the consolidated database server |
|
Immediately after disconnecting from the synchronization server |
|
On display of an informational message |
|
At the end of download processing |
|
At the end of synchronization |
|
After transmission of the upload to the synchronization server |
|
On display of an error message |
|
On display of a file message |
|
Periodically during synchronization after updates to a synchronization progress bar |
|
Returns generated dbmlsync command arguments immediately prior to launching the process |
|
On completion of upload processing |
|
When the synchronization process starts a new waiting period for upload acknowledgement |
|
On display of a warning message |
MLSynchronization function |
Datatype returned |
Description |
---|---|---|
Integer |
Cancels a synchronization that is in progress |
|
Integer |
Retrieves the ObjectRevision property saved in the Windows registry by a previous call to SetSyncRegistryProperties |
|
Integer |
Retrieves synchronization property values from the Windows registry |
|
Integer |
Changes the MobiLink password on the consolidated database |
|
Integer |
Passes SyncParm object properties to a synchronization object |
|
Integer |
Writes synchronization property values to the Windows registry |
|
Integer |
Launches a synchronization process using the command string properties that have been set |