ArcObjects Library Reference  (GeoDatabaseDistributed)    

IGeoDataServer.Replicas Property

The replicas in the workspace.

[Visual Basic 6.0]
Property Replicas As IGPReplicas
[Visual Basic .NET]
Public ReadOnly Property Replicas As IGPReplicas
[C#]
public IGPReplicas Replicas {get;}
[Java]
public IGPReplicas getReplicas()
throws
    IOException,
    AutomationException
[C++]
HRESULT get_Replicas(
  IGPReplicas** Replicas
);
[C++]

Parameters

Replicas [out, retval]

  Replicas is a parameter of type IGPReplicas

Product Availability

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

Remarks

The Replicas property returns a list of the replicas from the geodatabase referenced by the GeoDataServer

 

[Visual Basic 6.0]

Public Function CountGPReplicas(gds As IGeoDataServer) As Integer

    Dim pGPReplicas As IGPReplicas
    Set pGPReplicas = gds.Replicas
    CountGPReplicas = pGPReplicas.Count

End Function

See Also

IGeoDataServer Interface