Replica

Zusammenfassung

Das Objekt Replica enthält Eigenschaften, die ein Replikat beschreiben.

Auswertung

Replica -Objekte können nicht direkt erstellt werden. Auf die Eigenschaften von "Replica" wird über die Funktion arcpy.da.ListReplicas zugegriffen.

Eigenschaften

EigenschaftErklärungDatentyp
datasets
(Nur lesen)

A list of the datasets that belong to the replica.

List
hasConflicts
(Nur lesen)

Indicates whether the replica is in conflict.

Boolean
isParent
(Nur lesen)

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

Boolean
isSender
(Nur lesen)

Indicates 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
(Nur lesen)

The last time the replica received changes.

DateTime
lastSend
(Nur lesen)

The last time the replica sent changes.

DateTime
name
(Nur lesen)

The name of the replica.

String
owner
(Nur lesen)

The owner of the replica in the geodatabase.

String
replicaID
(Nur lesen)

The replica ID.

String
replicaServerGen
(Nur lesen)

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
(Nur lesen)

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
role
(Nur lesen)

The replica role.

  • ChildThe replica has a child role.
  • ParentThe replica has a parent role.
String
serviceName
(Nur lesen)

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

String
targetType
(Nur lesen)

The type of target for syncing the replica.

  • ClientCreated from a feature service for syncing with an offline mobile editor.
  • ServerCreated from a feature service for syncing with another feature service.
  • NoneA replica created through geodatabase replication workflows or by a feature service from an earlier release.
String
type
(Nur lesen)

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
(Nur lesen)

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

String

Verwandte Themen


In diesem Thema