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

SQL Anywhere 11.0.0 » MobiLink - Client Administration » Introduction to SQL Anywhere Clients for MobiLink » Dbmlsync integration component (deprecated) » Dbmlsync integration component methods


Run method

Begins one or more synchronizations using dbmlsync command line options.

Run( ByVal cmdLine As String )
Member of DbmlsyncCOM.Dbmlsync

cmdLine   A string specifying dbmlsync options.


For a list of options, see dbmlsync syntax.

The run method returns immediately and does not wait for the synchronization to complete. You can use the DoneExecution event to determine when your synchronization is complete.

The cmdLine parameter should contain the same options you would use if you were performing a synchronization with the dbmlsync command line utility. For example, the following command line and Run method invocation are equivalent:

dbmlsync -c uid=DBA;pwd=sql
dbmlsync1.Run "-c uid=DBA;pwd=sql"

The following example initiates a synchronization for a remote database called remote1.

dbmlsync1.Run "-c eng=remote1;uid=DBA;pwd=sql"