Synthèse
The SyncReplica object contains properties that describe a replica created through a sync-enabled feature service. Replicas created from nonversioned 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.
Propriétés
| Propriété | Explication | Type de données |
| creationDate (Lecture seule) | The date the replica was created. The date will be in UTC. | DateTime |
| datasets (Lecture seule) | A list of the datasets that belong to the replica. | List |
| direction (Lecture seule) | Specifies the direction of the replica.
| String |
| geometry (Lecture seule) | The replica's spatial filter geometry. | Geometry |
| 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) | 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) | 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 have the server target type. | 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) | 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) | 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 have the server target type. | Long |
| serviceName (Lecture seule) | The name of the feature service associated with the replica. | String |
| syncModel (Lecture seule) | Specifies the sync model that is being used for this replica.
| String |
| targetType (Lecture seule) | Specifies the target type 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 ?