Collection Contents Previous Next PDF

UltraLite.NET User's Guide

iAnywhere.UltraLite namespace

SyncProgressState enumeration


Enumerates all the states that can occur while synchronizing.

Prototypes 

' Visual Basic
Public Enum SyncProgressState

// C#
public enum SyncProgressState

Members 
Member Description
STATE_CANCELLED Synchronization has been cancelled.
STATE_COMMITTING_DOWNLOAD The download is being committed. The final count of rows received is included with this event. See ReceivedBytes property, ReceivedInserts property, ReceivedUpdates property, and ReceivedDeletes property.
STATE_CONNECTING The synchronization stream has been built, but not yet opened.
STATE_DISCONNECTING The synchronization stream is about to be closed.
STATE_DONE Synchronization has successfully completed. The connection's SyncResult property object has been updated.
STATE_ERROR Synchronization has completed, but an error occurred. Check SyncResult property, ErrorMessage property, and SQLCode property for details.
STATE_FINISHING_UPLOAD The upload is completing. The final count of rows sent is included with this event. See SentBytes property, SentInserts property, SentUpdates property, and SentDeletes property.
STATE_LAST Last state entered by synchronization. This state will always be entered and always after any other state. Other SyncProgressData fields may not contain valid data.
STATE_RECEIVING_DATA Data for the current table is being received. ReceivedBytes property, ReceivedInserts property, ReceivedUpdates property, and ReceivedDeletes property have been updated.
STATE_RECEIVING_TABLE A table is being received. Progress can be monitored using TableIndex property and TableCount property.
STATE_RECEIVING_UPLOAD_ACK An acknowledgement that the upload is complete is being received.
STATE_ROLLING_BACK_DOWNLOAD Synchronization is rolling back the download because an error was encountered during the download. The error will be reported with a subsequent STATE_ERROR progress report.
STATE_SENDING_DATA Data for the current table is being sent. SentBytes property, SentInserts property, SentUpdates property, and SentDeletes property have been updated.
STATE_SENDING_DOWNLOAD_ACK An acknowledgement that the download is complete is being sent.
STATE_SENDING_HEADER The synchronization stream has been opened and the header is about to be sent.
STATE_SENDING_TABLE A table is being sent. Progress can be monitored using TableIndex property and TableCount property.
STATE_STARTING No synchronization actions have been taken yet.
See also 

Collection Contents Previous Next PDF