Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

No Connection String from Arcpy Describe ArcSDE workspace

$
0
0
I'm using ArcGIS for Desktop 10.2.1 and I'm trying to use arcpy.Describe to get a connection string from an ArcSDE connection. My ArcSDE database is 10.2. However, the connectionString parameter from the arcpy.Describe method returns an empty string as if the workspace was not SDE. Is this a bug or intentional?

Code:

>>> conn = arcpy.Describe(r'Database Connections\Master GIS Data.sde')
>>> print conn.connectionString

>>>


Viewing all articles
Browse latest Browse all 2485

Trending Articles