GPReplicaDescription

A GPReplicaDescription is used during replica creation and data extraction to describe the data and schema to include.

Property

Type

Description

GPReplicaDatasets

GPReplicaDataset[]

The datasets to replicate or extract.

ModelType

esriReplicaModelType

This property returns the ModelType for existing replicas and allows you to set the type when creating a replica. Only one way replicas can have a type of either "esriModelTypeSimple" or "esriModelTypeFullGeodatabase". Two way and check-out replicas always have a "esriModelTypeFullGeodatabase" model type.

The ModelType defines whether to output the data as simple datasets ("esriModelTypeSimple") or as they are defined in the parent replica geodatabase ("esriModelTypeFullGeodatabase"). For example, when creating a replica from data with complex types such as a topologies or a geometric networks, a full model type includes the topologies and geometric networks while the simple model does not.

By default this property is set to "esriModelTypeFullGeodatabase".

QueryGeometry

Geometry

This property returns the shape that is used to determine which features are to be replicated. The SpatialRelation property returns how this shape is applied as a filter. For example, if the geometry is a polygon and the SpatialRelation is "esriSpatialRelIntersects", any features that intersect the polygon are replicated.

If a geometry is not used for the replica, nothing is returned.

By default, the geometry is applied to all datasets in the replica description during replication or data extraction.

SingleGeneration

bool

Returns TRUE if the replica is a check-out replica (single generation replica). Returns FALSE if replica is either a two way or one way replica.

SpatialRelation

esriSpatialRelEnum

This property defines how the shape returned by the Geometry property is applied during replication. For example, if the geometry is a polygon and the SpatialRelation is "esriSpatialRelIntersects", any features that intersect the polygon are replicated.

By default this property is set to "esriSpatialRelIntersects". See the esriSpatialRelEnum enumeration for more information.

TransferRelatedObjects

bool

TransferRelatedObjects determines whether related objects will be replicated.

If this is set to TRUE related objects will be replicated. TransferRelatedObjects is set to TRUE by default.

Remarks

The GPReplicaDescription coclass is used during replica creation and data extraction to describe the data and schema to include. It can also be accessed from existing replicas to determine the schema associated with a replica and the filters used. See GPReplica for more information.

11/8/2016