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


IReplica.ParentID Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

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