MLSync object
An MLSync object is derived from the MLSynchronization object base
class. Its primary function is to launch dbmlsync.exe, a separate process
that synchronizes a SQL Anywhere remote database with a consolidated
database. The MLSync properties control the options used for the
synchronization. MLSync events represent callbacks that are automatically
triggered by dbmlsync.exe at specific times during the synchronization
process.
Properties
|
MLSync property |
Datatype |
Description |
|---|---|---|
|
String |
Used to pass additional dbmlsync |
|
|
String |
Used with authenticate_parameters connection |
|
|
String |
The ODBC data source name used to connect to a SQL |
|
|
String |
Password for the SQL Anywhere remote database. |
|
|
String |
User ID for the SQL Anywhere remote database. |
|
|
String |
Encryption key for SQL Anywhere remote database. |
|
|
String |
Contains error and diagnostic messages generated |
|
|
String |
Extended dbmlsync options. Equivalent to the -e |
|
|
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 |
|
|
String |
The MobiLink password needed to connect to the |
|
|
Long |
The version of the SQL Anywhere remote database and |
|
|
String |
The MobiLink user name needed to connect to the |
|
|
Long |
You increment this value each time you rebuild the |
|
|
String |
The port number for the synchronization server. |
|
|
SyncProcessType (enumerated) |
Sets the direction for synchronization. Values are |
|
|
String |
Specifies the class name of a progress window |
|
|
String |
The publication to be processed. If more than one |
|
|
String |
Location in the Windows registry where MLSync |
|
|
Boolean |
If true, creates a synchronization |
|
|
Boolean |
Used at runtime by the objects that are generated |
|
|
Window |
Instance of a synchronization progress window. The |
Events
|
MLSync event |
Occurs |
|---|---|
|
At the beginning of the download |
|
|
Before dbmlsync scans the transaction log to |
|
|
At the beginning of the |
|
|
At the beginning of the upload |
|
|
When dbmlsync connects to the MobiLink |
|
|
Immediately after disconnecting from the |
|
|
On display of an informational |
|
|
At the end of download processing |
|
|
After the scan of the transaction log completes for |
|
|
At the end of synchronization |
|
|
After transmission of the upload to the |
|
|
On display of an error message |
|
|
On display of a file message |
|
|
Periodically whenever the synchronization triggers |
|
|
Returns generated dbmlsync command arguments |
|
|
On completion of upload processing |
|
|
When the synchronization process starts a new |
|
|
On display of a warning message |
Functions
|
MLSync function |
Datatype returned |
Description |
|---|---|---|
|
Integer |
Cancels a synchronization that is in |
|
|
String |
Returns the command string that is generated from |
|
|
String |
Returns the full path and file name of dbmlsync.exe |
|
|
Integer |
Returns the current synchronization build number |
|
|
Integer |
Retrieves the ObjectRevision property saved in the |
|
|
Integer |
Changes the MobiLink password on the consolidated |
|
|
Integer |
Passes SyncParm object properties to an MLSync |
|
|
Integer |
Writes synchronization property values to the |
|
|
Integer |
Launches a synchronization process using the MLSync |