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 properties


ExitCode property

Returns the exit code from synchronizations started by the most recent Run method invocation.

Public Property ExitCode( ) As Integer
Member of DbmlsyncCOM.Dbmlsync

The ExitCode property returns the exit code for the synchronizations started by the last Run method invocation. 0 indicates successful synchronizations. Any other value indicates that a synchronization failed.


Retrieving the value of this property before the DoneExecution event is triggered may result in a meaningless exit code value.


The following example displays the exit code from the most recent synchronization attempt when the DoneExecution event is triggered.

Private Sub dbmlsync1_DoneExecution() Handles dbmlsync1.DoneExecution
    End Sub