ArcObjects Library Reference (GeoDatabase)  

IReplica.ReplicaID Property

The ID of the replica.

[Visual Basic .NET]
Public ReadOnly Property ReplicaID As Integer
[C#]
public int ReplicaID {get;}
[C++]
HRESULT get_ReplicaID(
  long* rID
);
[C++]

Parameters

rID [out, retval]   rID is a parameter of type long

Product Availability

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

Description

This ReplicaID identifies a check-out in a geodatabase. It is unique only within the geodatabase and not across the master and the check-out geodatabases. For example, the master can have a ReplicaID of 1806 while the check-out geodatabase has a ReplicaID of 1 for the same check-out.

The ParentID property can be used in the check-out geodatabase to find the corresponding ReplicaID in the master geodatabase.

The master geodatabase of a check-out returns -1 for ParentID property. An alternative is to use the ReplicaGuid property, which uniquely identifies the check-out and has the same value in the master and check-out geodatabases.

See Also

IReplica Interface

.NET Related Topics

How to add a feature class or table to an existing replica |