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


IReplica.ParentID Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IReplica Interface > IReplica.ParentID Property
ArcGIS Developer Help

IReplica.ParentID Property

The ID of the replica reference in the master geodatabase.

[Visual Basic .NET]
Public ReadOnly Property ParentID As Integer
[C#]
public int ParentID {get;}
[C++]
HRESULT get_ParentID(
  System.Int32* replicaParentID
);
[C++]
Parameters
replicaParentID [out, retval]

replicaParentID is a parameter of type long*

Product Availability

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

Remarks

Returns the ID of the parent replica.  For two way, one way and check-out replicas, this property is only valid for the child replica geodatabase.  The parent replica geodatabase returns -1 for this property.

See Also

IReplica Interface