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 2.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

C#

public enum ULSyncProgressState

Members
Member nameDescriptionValue

STATE_CANCELLED

Synchronization has been cancelled.

15

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.

9

STATE_CONNECTING

The synchronization stream has been built, but is not yet opened.

1

STATE_DISCONNECTING

The synchronization stream is about to be closed.

11

STATE_DONE

Synchronization has successfully completed. The connection's SyncResult property object has been updated.

12

STATE_ERROR

Synchronization has completed, but an error occurred. Check SyncResult property, ErrorMessage property, and SQLCode property for details.

13

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.

5

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.

128

STATE_RECEIVING_DATA

Data for the current table is being received. ReceivedBytes property, ReceivedInserts property, ReceivedUpdates property, and ReceivedDeletes property have been updated.

8

STATE_RECEIVING_TABLE

A table is being received. Progress can be monitored using TableIndex property and TableCount property.

7

STATE_RECEIVING_UPLOAD_ACK

An acknowledgement that the upload is complete is being received.

6

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.

14

STATE_SENDING_DATA

Data for the current table is being sent. SentBytes property, SentInserts property, SentUpdates property, and SentDeletes property have been updated.

4

STATE_SENDING_DOWNLOAD_ACK

An acknowledgement that the download is complete is being sent.

10

STATE_SENDING_HEADER

The synchronization stream has been opened and the header is about to be sent.

2

STATE_SENDING_TABLE

A table is being sent. Progress can be monitored using TableIndex property and TableCount property.

3

STATE_STARTING

No synchronization actions have been taken yet.

0
See also