ArcObjects Library Reference (GeoDatabase)  

IWorkspaceReplicas.ReplicaByID Property

The replica or reference to a replica with the specified ID.

[Visual Basic .NET]
Public Function get_ReplicaByID ( _
    ByVal ReplicaID As Integer _
) As IReplica
[C#]
public IReplica get_ReplicaByID (
    int ReplicaID
);
[C++]
HRESULT get_ReplicaByID(
  long ReplicaID,
  IReplica** Replica
);
[C++]

Parameters

ReplicaID [in]   ReplicaID is a parameter of type long Replica [out, retval]

  Replica is a parameter of type IReplica

Product Availability

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

Remarks

The ReplicaID is the ID assigned to the check-out in the Workspace. The IReplica::ReplicaID property can be used to get the ReplicaID. This property can be used as an alternative to ReplicaByName property to get a Replica object.

See Also

IWorkspaceReplicas Interface