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