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 » ULConnection class » Synchronize methods

Synchronize() method Next Page

Synchronize(ULSyncProgressListener) method


UL Ext.: Synchronize the database using the current ULConnection.SyncParms with progress events posted to the specified listener.

Syntax

Visual Basic

Public Sub Synchronize( _
ByVal listener As ULSyncProgressListener _
)

C#

public void Synchronize(
ULSyncProgressListener listener
);

Parameters
Remarks

The last event posted to the listener will have a state of ULSyncProgressState.STATE_LAST.

Errors during synchronization will be posted as ULSyncProgressState.STATE_ERROR events and then thrown as ULExceptions.

A detailed result status will be reported in this connection's ULConnection.SyncResult.

See also