Replica

Resumen

El objeto Replica contiene propiedades que describen una réplica.

Debate

Replica Los objetos no se pueden crear directamente. Es posible acceder a las propiedades de réplica mediante la función arcpy.da.ListReplicas.

Propiedades

PropiedadExplicaciónTipo de datos
creationDate
(Sólo lectura)

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
(Sólo lectura)

A list of the datasets that belong to the replica.

List
geometry
(Sólo lectura)

The replica's spatial filter geometry.

Geometry
hasConflicts
(Sólo lectura)

Specifies whether the replica is in conflict.

Boolean
isParent
(Sólo lectura)

Specifies the replica role. Returns True if the replica is a parent and False if the replica is a child.

Boolean
isSender
(Sólo lectura)

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
(Sólo lectura)

The last time the replica received changes.

DateTime
lastSend
(Sólo lectura)

The last time the replica sent changes.

DateTime
name
(Sólo lectura)

The name of the replica.

String
owner
(Sólo lectura)

The owner of the replica in the geodatabase.

String
replicaDate
(Sólo lectura)

The date the replica was created. The date will be in the time zone of the server machine

DateTime
replicaID
(Sólo lectura)

The replica ID.

String
replicaServerGen
(Sólo lectura)

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
(Sólo lectura)

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
(Sólo lectura)

Specifies the replica role.

  • ChildThe replica has a child role.
  • ParentThe replica has a parent role.
String
serviceName
(Sólo lectura)

The URL of the feature service associated with the replica. This is only applicable for replicas created from a feature service.

String
targetType
(Sólo lectura)

Specifies the type of target for syncing the replica.

  • ClientThe target was created from a feature service for syncing with an offline mobile editor.
  • ServerThe target was created from a feature service for syncing with another feature service.
  • NoneThe target is a replica that was created through geodatabase replication workflows or by a feature service from an earlier release.
String
type
(Sólo lectura)

Specifies the replica type.

  • CheckOutThe replica is a checkout replica.
  • OneWayThe replica is a one-way replica.
  • TwoWayThe replica is a two-way replica.
String
version
(Sólo lectura)

The version from which the replica was created (replica version).

String

Temas relacionados


En este tema