Select to view content in your preferred language

Determine Broken SDE Connections

1779
10
02-03-2012 05:02 AM
MichaelVolz
Esteemed Contributor
To All Python Users:

I am using the ListBrokenDataSources method in python to get all the broken datasources in an mxd.  Now I want the ability to determine the type of connections, specifically SDE, that the broken links are.  I tried to loop through the list of broken data source layers and use the serviceproperties method to determine if it was SDE, but that is returning an error.  Does anyone know if this can be done?  If so, what python method would I use to go about getting this information.  Thanks.
Tags (2)
0 Kudos
10 Replies
MichaelVolz
Esteemed Contributor
Thanks Jake.

Do you have any idea why I need to employ this more complicated workaround than your original simpler code?
0 Kudos