Specifies whether to disable or enable downloads when synchronizing.
Visual Basic
Public Property UploadOnly As Boolean
C#
public bool UploadOnly { get; set; }
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().