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


IReplicationAgent.ExtractData Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabaseDistributed)  

IReplicationAgent.ExtractData Method

Extracts data from the source geodata server into the destination geodata server.

[Visual Basic .NET]
Public Sub ExtractData ( _
    ByVal versionName As String, _
    ByVal srcGDS As IGeoDataServer, _
    ByVal destGDS As IGeoDataServer, _
    ByVal desc As IGPReplicaDescription _
)
[C#]
public void ExtractData (
    string versionName,
    IGeoDataServer srcGDS,
    IGeoDataServer destGDS,
    IGPReplicaDescription desc
);
[C++]
HRESULT ExtractData(
  BSTR versionName,
  IGeoDataServer* srcGDS,
  IGeoDataServer* destGDS,
  IGPReplicaDescription* desc
);
[C++]

Parameters versionName [in] versionName is a parameter of type BSTR srcGDS [in]
srcGDS is a parameter of type IGeoDataServer destGDS [in]
destGDS is a parameter of type IGeoDataServer desc [in]
desc is a parameter of type IGPReplicaDescription

Product Availability

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

Description

The IReplicationAgent::ExtractData method is used to copy data between geodatabases applying filters to determine the rows to copy.

This method requires two input geodataserver objects, a srcGDS and a destGDS.  The srcGDS references the geodatabase that originally contains the data while the destGDS references the geodatabase where the data will be copied.

The desc parameter defines the data which will be extracted. See the GPReplicaDescription coclass for more information.

 

See Also

IReplicationAgent Interface