AnsweredAssumed Answered

Determine DataSource in VB.NET

Question asked by mvolz47 on Jun 5, 2013
Latest reply on Jun 7, 2013 by mvolz47
To All GIS VB.NET Developers:

What object of ILayer (layer in an mxd) can I use to determine if the layer is sourced from an SDE database?

In the past if I had a raster layer from SDE I used the RasterLayer.FilePath object which provides the path to where the SDE layer was created.  This did not work when I copied a raster SDE layer from one mxd to another.  In this case it showed the path to the SDE layer but did not include the .sde connection.

Any help or hints are greatly appreciated.