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


IWorkspaceReplicas.ReplicaByName Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

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

.NET Related Topics

Getting a list of schema differences between replicas | How to add a feature class or table to an existing replica