This document is archived and information here might be outdated.  Recommended version.


IGPReplicaDescription.QueryGeometry Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IGPReplicaDescription.QueryGeometry Property

The shape that determines which features are replicated.

[Visual Basic .NET]
Public Property QueryGeometry As IGeometry
[C#]
public IGeometry QueryGeometry {get; set;}
[C++]
HRESULT get_QueryGeometry(
  IGeometry** QueryGeometry
);
[C++]
HRESULT putref_QueryGeometry(
  IGeometry* QueryGeometry
);
[C++]

Parameters QueryGeometry [out, retval]
QueryGeometry is a parameter of type IGeometry QueryGeometry [in]
QueryGeometry is a parameter of type IGeometry

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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.

See Also

IGPReplicaDescription Interface