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


IDataExtraction.Extract Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabaseDistributed)  

IDataExtraction.Extract Method

Extracts schema and data from one geodatabase to another geodatabase.

[Visual Basic .NET]
Public Sub Extract ( _
    ByVal rDDescription As IReplicaDescription, _
    ByVal transferRelObjects As Boolean _
)
[C#]
public void Extract (
    IReplicaDescription rDDescription,
    bool transferRelObjects
);
[C++]
HRESULT Extract(
  IReplicaDescription* rDDescription,
  VARIANT_BOOL transferRelObjects
);
[C++]

Parameters rDDescription [in]
rDDescription is a parameter of type IReplicaDescription transferRelObjects [in] transferRelObjects is a parameter of type VARIANT_BOOL

Product Availability

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

Remarks

The extract method extracts schema and data from one geodatabase to another geodatabase. The rDDescription parameter references a ReplicaDescription object which is used to specify the data to check out and the filters applied to this data. 

If you set transferRelatedObjects to TRUE, related features/rows from other feature classes/tables will also be checked out. Otherwise, they are not checked out. Note that the schema of the related objects is always included regardless of whether transferRelatedObjects is TRUE or FALSE.

Unlike CheckOut or replication, DataExtraction can copy data from a personal geodatabase or file geodatabase to an ArcSDE geodatabase or between personal and file geodatabases.

See Also

IDataExtraction Interface