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

IGPReplicaDescription.SpatialRelation Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGPReplicaDescription Interface > IGPReplicaDescription.SpatialRelation Property
ArcGIS Developer Help

IGPReplicaDescription.SpatialRelation Property

Defines how the shape returned by the QueryGeometry property is applied during replication and synchronization.

[Visual Basic .NET]
Public Property SpatialRelation As esriSpatialRelEnum
public esriSpatialRelEnum SpatialRelation {get; set;}
HRESULT get_SpatialRelation(
  esriSpatialRelEnum SpatialRelation
HRESULT put_SpatialRelation(
  esriSpatialRelEnum* SpatialRelation
SpatialRelation [in]

SpatialRelation is a parameter of type esriSpatialRelEnum SpatialRelation [out, retval]
SpatialRelation is a parameter of type esriSpatialRelEnum*

Product Availability

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


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.

See Also

IGPReplicaDescription Interface