Synthèse
L'objet Replica contient des propriétés décrivant un réplica.
Discussion
Replica les objets ne peuvent pas être créés directement. Les propriétés des réplicas sont accessibles via la fonction arcpy.da.ListReplicas.
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. A replica may not have a creationDate value but will always have a replicaDate value. | DateTime |
| datasets (Lecture seule) | A list of the datasets that belong to the replica. | List |
| geometry (Lecture seule) | The replica's spatial filter geometry. | Geometry |
| hasConflicts (Lecture seule) | Specifies whether the replica is in conflict. | Boolean |
| isParent (Lecture seule) | Specifies the replica role. Returns True if the replica is a parent and False if the replica is a child. | Boolean |
| isSender (Lecture seule) | Specifies whether the replica is a data sender. Returns True if the replica is a data sender and False if the replica is a data receiver. | Boolean |
| lastReceive (Lecture seule) | The last time the replica received changes. | DateTime |
| lastSend (Lecture seule) | The last time the replica sent changes. | DateTime |
| name (Lecture seule) | The name of the replica. | String |
| owner (Lecture seule) | The owner of the replica in the geodatabase. | String |
| replicaDate (Lecture seule) | The date the replica was created. The date will be in the time zone of the server machine | DateTime |
| 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 |
| role (Lecture seule) | Specifies the replica role.
| String |
| serviceName (Lecture seule) | The URL of the feature service associated with the replica. This is only applicable for replicas created from a feature service. | String |
| targetType (Lecture seule) | Specifies the type of target for syncing the replica.
| String |
| type (Lecture seule) | Specifies the replica type.
| String |
| version (Lecture seule) | The version from which the replica was created (replica version). | String |
Rubriques connexes
Vous avez un commentaire à formuler concernant cette rubrique ?