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

SQL Anywhere 10.0.1 » UltraLite - .NET Programming » UltraLite .NET 1.0 API Reference

SyncProgressed method Next Page

ULSyncProgressState enumeration


UL Ext.: Enumerates all the states that can occur while synchronizing.

Syntax

Visual Basic

Public Enum ULSyncProgressState
Inherits Short

C#

public enum ULSyncProgressState :
short

Member name
Member nameDescription

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 is 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

The last state entered by synchronization. This state is always entered and always after any other state. Other ULSyncProgressData 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