Property AttachmentSyncDirection
AttachmentSyncDirection
Gets or sets the direction for attachments to be synchronized.
Declaration
public AttachmentSyncDirection AttachmentSyncDirection { get; set; }
Property Value
Type | Description |
---|---|
AttachmentSyncDirection | The direction for attachments to be synchronized. |
Remarks
This parameter is available when the SupportsAttachmentsSyncDirection
returns true
. This parameter defines how attachments will be synced and is only applicable if the feature service has attachments.
- Bidirectional Attachment edits can be both uploaded from the client and downloaded from the service when syncing.
- Upload Attachment edits can only be uploaded from the client when syncing. This is useful in cases where the data collector does not want to consume space with attachments from the service, but does need to collect new attachments.
- None Attachment edits are never synced from either the client or the server.
When ReturnAttachments is set to true
, you can set AttachmentSyncDirection to either Bidirectional (default) or Upload. In this case, create replica includes attachments from the service.
When ReturnAttachments is set to false
, you can set AttachmentSyncDirection to either Upload or None (default). In this case, the geodatabase does not include attachments from the service.
Attachment sync direction is set during the GenerateGeodatabase(GenerateGeodatabaseParameters, String) operation and cannot be overridden during SyncGeodatabase(SyncGeodatabaseParameters, Geodatabase).
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |