概要
Replica オブジェクトには、レプリカを記述するプロパティが含まれています。
ディスカッション
Replica オブジェクトを直接作成することはできません。 Replica のプロパティには、arcpy.da.ListReplicas 関数を通じてアクセスできます。
プロパティ
プロパティ | 説明 | データ タイプ |
datasets (読み取り専用) | A list of the datasets that belong to the replica. | List |
hasConflicts (読み取り専用) | Indicates whether the replica is in conflict. | Boolean |
isParent (読み取り専用) | Indicates the replica role. Returns True if the replica is a parent and False if the replica is a child. | Boolean |
isSender (読み取り専用) | 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 (読み取り専用) | The last time the replica received changes. | DateTime |
lastSend (読み取り専用) | The last time the replica sent changes. | DateTime |
name (読み取り専用) | The name of the replica. | String |
owner (読み取り専用) | The owner of the replica in the geodatabase. | 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 |
role (読み取り専用) | The replica role.
| String |
serviceName (読み取り専用) | The URL of the feature service associated with the replica. This is only applicable for replicas created from a feature service. | String |
targetType (読み取り専用) | The type of target for syncing the replica.
| String |
type (読み取り専用) | The replica type.
| String |
version (読み取り専用) | The version from which the replica was created (replica version). | String |