ArcObjects Library Reference (GeoDatabaseDistributed)  

IGdbXmlExport.ExportRecordSet Method

Exports a single tabular dataset to XML.

[Visual Basic .NET]
Public Sub ExportRecordSet ( _
    ByVal pTableName As ITableName, _
    ByVal outFile As String, _
    ByVal BinaryGeometry As Boolean, _
    ByVal Compressed As Boolean _
)
[C#]
public void ExportRecordSet (
    ITableName pTableName,
    string outFile,
    bool BinaryGeometry,
    bool Compressed
);
[C++]
HRESULT ExportRecordSet(
  ITableName* pTableName,
  BSTR outFile,
  VARIANT_BOOL BinaryGeometry,
  VARIANT_BOOL Compressed
);
[C++]

Parameters

pTableName [in]

  pTableName is a parameter of type ITableName

outFile [in]   outFile is a parameter of type BSTR BinaryGeometry [in]   BinaryGeometry is a parameter of type VARIANT_BOOL Compressed [in]   Compressed is a parameter of type VARIANT_BOOL

Product Availability

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

Remarks

The ExportRecordSet method exports a recordset.

In order to export recordset, you need to pass in ITableName.  The outFile is a string that identifies the output XML filename. The filename must have a "xml" file extension, for example, "C:\temp\file.xml".

If you set binaryGeometry to TRUE, the exported workspace will be in binary format.  Otherwise, the workspace will be in normalized format.

If you set compressed to TRUE, the outFile file extension must be set to .ZIP or .Z.

See Also

IGdbXmlExport Interface