Summary
The SyncReplica object contains properties that describe a replica created through a sync-enabled feature service. Replicas created from non-versioned data with archiving or from branch versioned data are included.
Discussion
SyncReplica objects cannot be created directly. SyncReplica properties can be accessed through the arcpy.da.ListReplicas function.
Properties
Property | Explanation | Data Type |
datasets (Read Only) | A list of the datasets that belong to the replica. | List |
direction (Read Only) | The direction of the replica. Possible direction values are as follows:
| String |
lastSyncDate (Read Only) | The last sync date for the replica. This property is only available for replicas created from a feature service. | DateTime |
layerServerGens (Read Only) | Indicates the last generation of changes that were sent to the relative replica on a layer-by-layer basis. This property is only applicable for replicas that use the per-layer sync model. | Dictionary |
layerServerSibGens (Read Only) | Indicates the last generation of changes that were successfully received from the relative replica on a layer-by-layer basis. This property is only applicable for replicas that use the per-layer sync model and for which the target type is server. | Dictionary |
name (Read Only) | The name of the replica. | String |
owner (Read Only) | The owner of the replica on the server. | String |
replicaID (Read Only) | The replica ID. | String |
replicaServerGen (Read Only) | Indicates the last generation of changes that was successfully received from the relative replica. This property is only applicable for replicas that use the per-replica sync model. | Long |
replicaServerSibGen (Read Only) | Indicates the last generation of changes that was sent to the relative replica. This property is only applicable for replicas that use the per-replica sync model and for which the target type is server. | Long |
serviceName (Read Only) | The name of the feature service associated with the replica. | String |
syncModel (Read Only) | The sync model that is being used for this replica.
| String |
targetType (Read Only) | The type of target for syncing the replica.
| String |
version (Read Only) | The version from which the replica was created. | String |