ArcObjects Library Reference (GeoDatabaseDistributed)  

IGeoDataServer.ExpandReplicaDatasets Method

Expands a set of replica datasets taking into consideration geodatabase constructs (topologies, relationship classes, etc.).

[Visual Basic .NET]
Public Function ExpandReplicaDatasets ( _
    ByVal repDatasets As IGPReplicaDatasets _
) As IGPReplicaDatasets
[C#]
public IGPReplicaDatasets ExpandReplicaDatasets (
    IGPReplicaDatasets repDatasets
);
[C++]
HRESULT ExpandReplicaDatasets(
  IGPReplicaDatasets* repDatasets,
  IGPReplicaDatasets** expandedRepDatasets
);
[C++]

Parameters

repDatasets [in]

  repDatasets is a parameter of type IGPReplicaDatasets

expandedRepDatasets [out, retval]

  expandedRepDatasets is a parameter of type IGPReplicaDatasets

Product Availability

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

Remarks

The ExpandReplicaDatasets method returns the expanded list of datasets to replicate or extract. Data extraction and replica creation apply an expansion process to ensure that all feature classes in a topology or geometric network and related feature classes and tables are included. For example, if you pass in a GPReplicaDataset for a feature class that is involved in a topology, replica creation will include all feature classes in the topology.

This method allows you to set properties for each expanded GPReplicaDataset before creating replicas or extracting data. Unless you use this method, the expanded classes will be given default properties.  

 

[C#]

The How to create a replica in a connected environment topic shows an example of using this method.

See Also

IGeoDataServer Interface

.NET Related Topics

How to create a replica in a connected environment | How to create a replica in a disconnected environment |