ArcObjects Library Reference (GeoDatabase)  

IFeatureDataConverter.ConvertFeatureDataset Method

Converts a featureDataset to Personal Geodatabase/Geodatabase featuredataset.

[Visual Basic .NET]
Public Sub ConvertFeatureDataset ( _
    ByVal inputFDatasetName As IFeatureDatasetName, _
    ByVal outputFDatasetName As IFeatureDatasetName, _
    ByVal OutputGeometryDef As IGeometryDef, _
    ByVal configKey As String, _
    ByVal FlushInterval As Integer, _
    ByVal parentHWND As Integer _
)
[C#]
public void ConvertFeatureDataset (
    IFeatureDatasetName inputFDatasetName,
    IFeatureDatasetName outputFDatasetName,
    IGeometryDef OutputGeometryDef,
    string configKey,
    int FlushInterval,
    int parentHWND
);
[C++]
HRESULT ConvertFeatureDataset(
  IFeatureDatasetName* inputFDatasetName,
  IFeatureDatasetName* outputFDatasetName,
  IGeometryDef* OutputGeometryDef,
  BSTR configKey,
  long FlushInterval,
  long parentHWND
);
[C++]

Parameters

inputFDatasetName [in]

  inputFDatasetName is a parameter of type IFeatureDatasetName

outputFDatasetName [in]

  outputFDatasetName is a parameter of type IFeatureDatasetName

OutputGeometryDef [in]

  OutputGeometryDef is a parameter of type IGeometryDef

configKey [in]   configKey is a parameter of type BSTR FlushInterval [in]   FlushInterval is a parameter of type long parentHWND [in]   parentHWND is a parameter of type long

Product Availability

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

Description

ConvertFeatureDataset automates the conversion of feature datasets. Converts only the simple feature classes contained in the source feature dataset. Complex feature classes (annotation, networks) and relationship classes are not converted. The source feature dataset name is appended to the beginning of each of the feature class names in the target feature dataset. For example a target feature dataset, “USA2”, with a source dataset named, “USA”, would have “USA_” appended onto each of its feature class names. The feature class “roads” would be “USA_roads” in the target feature dataset. As a result of this behavior, a feature dataset can only be converted into a given target geodatabase one time without renaming (programmatically) the target feature classes.

See Also

IFeatureDataConverter Interface | IGeoDBDataTransfer Interface