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

SQL Anywhere 11.0.1 (Français) » MobiLink - Client Administration » SQL Anywhere Clients for MobiLink » Dbmlsync integration component (deprecated) » Dbmlsync integration component events

 

EndDownload event

The EndDownload event is triggered at the end of the download stage of the synchronization process.

Syntax
Public Event EndDownload(
  long upsertRows,
  long deleteRows
)
Member of DbmlsyncCOM.Dbmlsync
Parameters

upsertRows   Indicates the number of rows updated or inserted by the download.

deleteRows   Indicates the number of rows deleted by the download.

Remarks

Use this event to add custom actions at the end of the download stage of synchronization.

Example

The following Visual Basic .NET example outputs a message and the number of inserted, updated, and deleted rows when the EndDownload event is triggered.

Private Sub dbmlsync1_EndDownload(
 ByVal upsertRows As Integer,
 ByVal deleteRows As Integer
)
Handles dbmlsync1.EndDownload

    MsgBox("Download complete." + _
     CStr(upsertRows) + "Rows updated or inserted" + _
     CStr(deleteRows) + "Rows deleted")

End Sub