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 events

SetTitle event Next Page

UploadAck event


The UploadAck event is triggered after the component has received acknowledgement of the upload from the MobiLink server.

Syntax

Public Event UploadAck( _
ByVal status As DbmlsyncCOM.UploadAckStatus _
)
Member of DbmlsyncCOM.Dbmlsync

Parameters

status    Indicates the status returned by MobiLink to the remote after the upload is processed. Its value is one of:

Remarks

Use this event to add custom actions after dbmlsync has received acknowledgement of the upload from the MobiLink server.

Example

The following Visual Basic .NET example outputs a message if the upload has failed when the UploadAck event is triggered.

Private Sub dbmlsync1_UploadAck(ByVal status As DbmlsyncCOM.UploadAckStatus) Handles dbmlsync1.UploadAck

    If status = DbmlsyncCOM.UploadAckStatus.StatFailed Then
         MsgBox("Upload Failed")
    End If

End Sub