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


IWorkspaceReplicas.Replicas 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.Replicas Property
ArcGIS Developer Help

IWorkspaceReplicas.Replicas Property

Replicas contained by or refernced by this workspace.

[Visual Basic .NET]
Public ReadOnly Property Replicas As IEnumReplica
[C#]
public IEnumReplica Replicas {get;}
[C++]
HRESULT get_Replicas(
  IEnumReplica** enumReplica
);
[C++]
Parameters
enumReplica [out, retval]

enumReplica is a parameter of type IEnumReplica**

Product Availability

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

Remarks

When using this method to get check-out information from a personal or File geodatabase, the enumeration will return no more than one Replica object. This is because personal and File geodatabases can only host one check-out. Many replicas may be returned with ArcSDE geodatabases since ArcSDE can host a check-out plus have references to many other check-outs.

If no replicas are returned, the geodatabase is not involved in an active check-out. 

See Also

IWorkspaceReplicas Interface