SyncReplica

Zusammenfassung

Das Objekt SyncReplica enthält Eigenschaften, die ein Replikat beschreiben, das aus einem Feature-Service mit aktivierter Synchronisierung erstellt wurde. Replikate, die aus nicht versionierten Daten mit Archivierung oder aus nach Verzweigung versionierten Daten erstellt wurden, werden einbezogen.

Diskussion

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

Eigenschaften

EigenschaftErläuterungDatentyp
creationDate
(Schreibgeschützt)

The date the replica was created. The date will be in UTC.

DateTime
datasets
(Schreibgeschützt)

A list of the datasets that belong to the replica.

List
direction
(Schreibgeschützt)

Specifies the direction of the replica.

  • bidirectionalThe replica direction is bidirectional.
  • downloadThe replica direction is download only.
  • uploadThe replica direction is upload only.
String
geometry
(Schreibgeschützt)

The replica's spatial filter geometry.

Geometry
lastSyncDate
(Schreibgeschützt)

The last sync date for the replica. This property is only available for replicas created from a feature service.

DateTime
layerServerGens
(Schreibgeschützt)

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
(Schreibgeschützt)

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
(Schreibgeschützt)

The name of the replica.

String
owner
(Schreibgeschützt)

The owner of the replica on the server.

String
replicaID
(Schreibgeschützt)

The replica ID.

String
replicaServerGen
(Schreibgeschützt)

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
(Schreibgeschützt)

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
(Schreibgeschützt)

The name of the feature service associated with the replica.

String
syncModel
(Schreibgeschützt)

Specifies the sync model that is being used for this replica.

  • perLayerThe replica uses a per-layer sync model.
  • perReplicaThe replica uses a per-replica sync model.
  • NoneThe replica does not have a sync model set.
String
targetType
(Schreibgeschützt)

Specifies the target type 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
version
(Schreibgeschützt)

The version from which the replica was created.

String