com.esri.arcgis.geodatabasedistributed
Interface IReplicasExporter

All Superinterfaces:
Serializable
All Known Implementing Classes:
ReplicasExporter

public interface IReplicasExporter
extends Serializable

Provides access to export replicas description in a geodatabase.

Remarks

The IReplicasExporter interface provides a method to export all replica geometries in a replica geodatabase to an output feature class.

Product Availability

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


Method Summary
 IFeatureClass exportReplicasInfo(IWorkspace pFromWS, IWorkspace pDestWS, String fcName, ISpatialReference sR)
          Exports the information for the replicas in a geodatabase into an output feature class.
 

Method Detail

exportReplicasInfo

IFeatureClass exportReplicasInfo(IWorkspace pFromWS,
                                 IWorkspace pDestWS,
                                 String fcName,
                                 ISpatialReference sR)
                                 throws IOException,
                                        AutomationException
Exports the information for the replicas in a geodatabase into an output feature class.

Remarks

The ExportReplicasInfo method exports the geometries of all replicas in a geodatabase into an output feature class. The output feature class has one row in the feature class per replica in the geodatabase. In each row, the replica geometry that is used as a filter for the replica is stored in the shape column. Each replica property is stored in separate columns. These replica properties include information stored about the replica such as the replicas id, owner, name, state, role, the replica type. You can query the footprint for information, such as finding all replicas waiting to receive messages, or all replicas owned by a particular user.

The shape column always stores polygons. If another geometry type (i.e. a point or a line) is used as the replica geometry, it is buffered and the buffer is stored in the footprint feature class. If no replica geometry was used, a polygon covering the entire extent of the replica is stored in the shape column.

The ExportReplicasInfo method returns a feature class. The pFromWS is the workspace of the replica geodatabase. The pDestWS is the destination workspace for the output feature class. The fcName is the name of the output feature class.

The SR parameter defines the spatial reference of the output feature class. If the SR is empty, the spatial reference will be that of the first replica that is something other than unknown. Unknown will be used if the SR parameter is empty and all replicas have an unknown spatial reference. If only some of the replicas have an unknown spatial reference, a null replica geometry is stored for these replicas.


Product Availability

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

Parameters:
pFromWS - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
pDestWS - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
fcName - The fcName (in)
sR - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureClass
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.