I'm storing my database connection in a .SDE file. When I output my feature class names in that database connection, I get the full path to the .SDE file. I want the details, like instance, for the database stored in the .SDE file. How do I expand (maybe not the right term) the .SDE file to expose the actual database details?


You can use the Describe function to get extended information about various objects. See Workspace properties, which also includes a good code sample that does pretty much exactly what you're after.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.