How can we extract these properties from a feature class in an Enterprise GeoDatabase. I particularly want to extract the 'Instance' values
I am using arcpy.Describe(featureclass). It doesn't give me instance. I looked up the object properties and it is not listed in the documentation.
https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/describe-object-properties.htm
I even used arcpy.da.Describe(featureclass). Still, couldn't get the value of instance.
Any pointers would be greatly appreciated!
Solved! Go to Solution.
Those are properties of the feature class' workspace rather than the feature class itself. You'll want to do something like this:
Those are properties of the feature class' workspace rather than the feature class itself. You'll want to do something like this:
Thank you! That solved it.
It's feels a bit convoluted. I must say though that the 'instance' in connection properties was not the same 'instance' in the data source properties screenshot. I had to use cp.database
cp.instance returned the value of 'Server'