Summary
The Replica object contains properties that describe a replica.
Discussion
Replica objects cannot be created directly. Replica properties can be accessed through the arcpy.da.ListReplicas function.
Properties
Property | Explanation | Data Type |
creationDate (Read Only) | 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 (Read Only) | A list of the datasets that belong to the replica. | List |
geometry (Read Only) | The replica's spatial filter geometry. | Geometry |
hasConflicts (Read Only) | Specifies whether the replica is in conflict. | Boolean |
isParent (Read Only) | Specifies the replica role. Returns True if the replica is a parent and False if the replica is a child. | Boolean |
isSender (Read Only) | 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 (Read Only) | The last time the replica received changes. | DateTime |
lastSend (Read Only) | The last time the replica sent changes. | DateTime |
name (Read Only) | The name of the replica. | String |
owner (Read Only) | The owner of the replica in the geodatabase. | String |
replicaDate (Read Only) | The date the replica was created. The date will be in the time zone of the server machine | DateTime |
replicaID (Read Only) | The replica ID. | String |
replicaServerGen (Read Only) | 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) | 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 (Read Only) | Specifies the replica role.
| String |
serviceName (Read Only) | The URL of the feature service associated with the replica. This is only applicable for replicas created from a feature service. | String |
targetType (Read Only) | Specifies the type of target for syncing the replica.
| String |
type (Read Only) | Specifies the replica type.
| String |
version (Read Only) | The version from which the replica was created (replica version). | String |