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


IWorkspaceReplicas.ReplicaByName Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceReplicas Interface > IWorkspaceReplicas.ReplicaByName Property
ArcGIS Developer Help

IWorkspaceReplicas.ReplicaByName Property

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

[Visual Basic .NET]
Public Function get_ReplicaByName ( _
    ByVal ReplicaName As String _
) As IReplica
[C#]
public IReplica get_ReplicaByName (
    string ReplicaName
);
[C++]
HRESULT get_ReplicaByName(
  BSTR ReplicaName,
  IReplica** Replica
);
[C++]
Parameters
ReplicaName [in]

ReplicaName is a parameter of type BSTR Replica [out, retval]
Replica is a parameter of type IReplica**

Product Availability

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

Remarks

The replica name is the name assigned to the check-out, which by default is also the name of the check-out version. The IReplica::Name property can be used to get the name of the check-out.

See Also

IWorkspaceReplicas Interface