SyncReplica

サマリー

SyncReplica オブジェクトには、同期が有効なフィーチャ サービスにより作成されたレプリカを記述するプロパティが含まれています。 バージョニングされていないデータから履歴管理で作成された、またはブランチ バージョニングされたデータから作成されたレプリカは含まれません。

説明

SyncReplica オブジェクトは直接作成できません。 SyncReplica プロパティには arcpy.da.ListReplicas 関数でアクセスできます。

プロパティ

プロパティ説明データ タイプ
datasets
(読み取り専用)

A list of the datasets that belong to the replica.

List
direction
(読み取り専用)

The direction of the replica. Possible direction values are as follows:

  • bidirectionalThe replica direction is bidirectional.
  • downloadThe replica direction is download only.
  • uploadThe replica direction is upload only.
String
lastSyncDate
(読み取り専用)

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

DateTime
layerServerGens
(読み取り専用)

Indicates 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
(読み取り専用)

Indicates 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 for which the target type is server.

Dictionary
name
(読み取り専用)

The name of the replica.

String
owner
(読み取り専用)

The owner of the replica on the server.

String
replicaID
(読み取り専用)

The replica ID.

String
replicaServerGen
(読み取り専用)

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
(読み取り専用)

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
serviceName
(読み取り専用)

The name of the feature service associated with the replica.

String
syncModel
(読み取り専用)

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
(読み取り専用)

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
version
(読み取り専用)

The version from which the replica was created.

String

このトピックの内容