The EndDownload event is triggered at the end of the download stage of the synchronization process.
Public Event EndDownload( long upsertRows, long deleteRows ) Member of DbmlsyncCOM.Dbmlsync
upsertRows Indicates the number of rows updated or inserted by the download.
deleteRows Indicates the number of rows deleted by the download.
Use this event to add custom actions at the end of the download stage of synchronization.
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 |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |