ESRI.ArcGIS.Mobile
FeatureAttachmentSyncAgent Class
Members  See Also  Send Feedback
ESRI.ArcGIS.Mobile.FeatureCaching.Synchronization Namespace : FeatureAttachmentSyncAgent Class

SyncAgent specialized for synchronizing feature attachment files. Attachment information is downloaded and uploaded with the features themselves. The attachment files have to be downloaded and uploaded separately for performance reasons.

Object Model




Syntax

Visual Basic (Declaration) 
Public Class FeatureAttachmentSyncAgent 
   Inherits SyncAgent
C# 
public class FeatureAttachmentSyncAgent : SyncAgent 

Remarks

If your MobileService has attachments, the attachment files can be synchronized automatically with the features, using a FeatureSyncAgent's default properties.

You can limit the attachments to synchronize with the AttachmentsToDownload/Upload, DownloadContentType, MaxAttachmentDownloadSize, and SynchronizationDirection properties.

Note for uploading attachments: Prior to uploading an attachment to an ArcGIS Server, you first need to create an Attachment object and add it to the feature to which it belongs using an AttachmentManager.

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.Mobile.FeatureCaching.Synchronization.SyncAgent
      ESRI.ArcGIS.Mobile.FeatureCaching.Synchronization.FeatureAttachmentSyncAgent

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.