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 properties

UseVB6Types property Next Page

ExitCode property


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

Syntax

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

Remarks

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.

Note:

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

Example

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
        MsgBox(dbmlsync1.ExitCode)
    End Sub