Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

In ArcObjects you can get the service properties of a map layer by looking at its IWorkspaceName.ConnectionProperties property set, even if the layer is currently invalid due to a broken connection.

Why are these properties not exposed through arcpy.mapping's Layer.serviceProperties dictionary if the layer's data source is broken? Is this any different in 10.1 (I am using 10.0 SP5 at the moment)? Just tested at 10.1 SP1, it's the same story.

This ESRI forum post states that they are not exposed, but not the reason it was implemented this way or whether it is going to be improved.

share|improve this question
add comment

closed as not constructive by Devdatta Tengshe, whuber Feb 15 '13 at 16:08

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.