Résumé
L'’objet SyncReplica contient des propriétés décrivant un réplica créé via un service d’entités activé pour la synchronisation. Les réplicas créés à partir de données avec archivage non versionnées ou à partir de données de branche versionnées sont inclus.
Discussion
Les objets SyncReplica ne peuvent pas être créés directement. Les propriétés SyncReplica sont accessibles par le biais de la fonction arcpy.da.ListReplicas.
Propriétés
Propriété | Explication | Type de données |
datasets (Lecture seule) | A list of the datasets that belong to the replica. | List |
direction (Lecture seule) | The direction of the replica. Possible direction values are as follows:
| String |
lastSyncDate (Lecture seule) | The last sync date for the replica. This property is only available for replicas created from a feature service. | DateTime |
layerServerGens (Lecture seule) | 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 (Lecture seule) | 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 (Lecture seule) | The name of the replica. | String |
owner (Lecture seule) | The owner of the replica on the server. | String |
replicaID (Lecture seule) | The replica ID. | String |
replicaServerGen (Lecture seule) | 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 (Lecture seule) | 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 (Lecture seule) | The name of the feature service associated with the replica. | String |
syncModel (Lecture seule) | The sync model that is being used for this replica.
| String |
targetType (Lecture seule) | The type of target for syncing the replica.
| String |
version (Lecture seule) | The version from which the replica was created. | String |
Vous avez un commentaire à formuler concernant cette rubrique ?