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

SQL Anywhere 11.0.1 (Français) » UltraLite - .NET Programming » UltraLite .NET 2.0 API reference » ULSyncParms class


UploadOnly property

Specifies whether to disable or enable downloads when synchronizing.

Visual Basic
Public Property UploadOnly As Boolean
public bool UploadOnly { get; set; }
Property value

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


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