This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceReplicas Interface > IWorkspaceReplicas.ReplicaByID Property (ArcObjects .NET 10.4 SDK) |
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
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.