DownloadOnly property

Specifies whether to disable or enable uploads when synchronizing.

Syntax
Visual Basic
Public Property DownloadOnly As Boolean
C#
public bool DownloadOnly { get; set; }
Property value

True to disable uploads when synchronizing, false to enable uploads. 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