GeoData service ImportData method

Imports data into the workspace.

ImportData(GDSData Data, esriGDSImportFormat ImportFormat)




The Data parameter is used to specify the data changes to import. See IGDSData for more information.


The ImportFormat defines the format of the data changes. See esriGDSImportFormat enumeration for more information.

Return Value

No return value.


This method can be used to upload data to a geodata service. An application can perform a local data extraction to a geodatabase XML document, then upload the resulting document to the server. The result of the import is that new datasets are created which are owned by the database user associated with the geodata service. This method can also be used to upload file or personal geodatabases to the server.