Geoprocessing tools in .NET syntax : Syntax to reference an SDE geodatabase

Discussion created by blomm on May 24, 2011
Latest reply on Jul 18, 2011 by blomm
Hi there,

I'd like to append shapefiles into an SDE geodatabse.  I've tried shp2sde, but I get all kinds of polygon-geometry errors and it fails.  Using the DataManagement append tool seems to work, but I need to implement it in my .net application.  I guess I could use model builder, and try to call the python script from .net, but I'd like to use the DataManagement library in .net.

Problem is, I can't find any documentation for how to reference a SDE geodatabase as the ouput.  Can anyone help, please?

var append = new Append();
append.field_mapping = @"\\server1\Perils\WindStorms\columnmatch.txt";
append.inputs = @"\\server1\Perils\WindStorms\201007N_wind_2010080503.shp";
append.output = "???";
append.schema_type = "NO_TEST";