ArcObjects Library Reference (GeoDatabaseDistributed)  

IGdbXmlImport.ImportRecordSet Method

Loading data from xml recordset.

[Visual Basic .NET]
Public Sub ImportRecordSet ( _
    ByVal inFile As String, _
    ByVal SourceFields As IFields, _
    ByVal TargetMappedFields As IFields, _
    ByVal pTable As ITable _
)
[C#]
public void ImportRecordSet (
    string inFile,
    IFields SourceFields,
    IFields TargetMappedFields,
    ITable pTable
);
[C++]
HRESULT ImportRecordSet(
  BSTR inFile,
  IFields* SourceFields,
  IFields* TargetMappedFields,
  ITable* pTable
);
[C++]

Parameters

inFile [in]   inFile is a parameter of type BSTR SourceFields [in]

  SourceFields is a parameter of type IFields

TargetMappedFields [in]

  TargetMappedFields is a parameter of type IFields

pTable [in]

  pTable is a parameter of type ITable

Product Availability

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

Remarks

The ImportRecordSet method imports a geodatabase recordset.

In order to import a recordset, you need to pass in IFields and ITable.  The inFile is a string that identifies the input XML filename.  The filename must have a "xml" file extension, for example, "c:\temp\file.xml".  Otherwise, the inFile is a .ZIP or .Z file extension.

See Also

IGdbXmlImport Interface