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 » ULSyncParms class

TableOrder property Next Page

UploadOnly property


Specifies whether to disable or enable downloads when synchronizing.

Syntax

Visual Basic

Public Property UploadOnly As Boolean

C#

public bool UploadOnly { get; set; }

Property value

True to disable downloads, false to enable downloads. The default is false.

Remarks

At most, only one synchronization command (ULSyncParms.DownloadOnly, ULSyncParms.PingOnly, ULSyncParms.ResumePartialDownload, or ULSyncParms.UploadOnly) can be specified at a time. If more than one of these parameters is set to true, a ULSQLCode.SQLE_SYNC_INFO_INVALID SQLException is thrown by ULConnection.Synchronize().

See also