Disconnect from SDE

Discussion created by dwatkins on Jun 18, 2014
Latest reply on Jun 20, 2014 by mdenil
I am working in an enterprise geodatabase in through Citrix - both the desktop client and SDE are at 10.1.

I often have multiple SDE connections open and would like a way to close all of them at once rather than right clicking on each one and selecting disconnect. I don't see any close or disconnect methods and the arcpy.ClearWorkspaceCache_Management() method does not close the connection in the ArcCatalog tree.

Does anyone know if there is a way to do this using Python?

Thank you