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

SQL Anywhere 10.0.1 » MobiLink - Client Administration » Dbmlsync Integration Component » Dbmlsync Integration Component methods

Dbmlsync Integration Component methods Next Page

Run method


Begins one or more synchronizations using dbmlsync command line options.

Syntax

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

Parameters

cmdLine    A string specifying dbmlsync options.

Remarks

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"
Example

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

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