I am looking for some programmatic way to get the underlying data source used for a Map Service Layer. We use mostly SDE layers, so I would like the Feature Class Name.
I was able to do this with ArcObjects with C# .NET prior to 10.1 but I don't believe it can be done the same way due to the changes in ArcGIS Server architecture
Does anyone have any code examples of getting the layer sources?
I may end up using the MXD to compile data sources, but would like to go against the map services directly if possible.