I was wondering if it's possible to get the actual geodatabase through the BasicFeatureLayer.GetDataConnection() method, which (can) return a CIMFeatureDatasetDataConnection.
I found, that when working with a filegdb, I can get the path for the fgdb. The path I can use in return to create a new Geodatabase object. If I try to do the same with an enterprise gdb, I can retrieve only the connection string. Even though I can use the connection string to create a new ConnectionProperies object, the object can not be used to open a Geodatabase. If I try this, I can some type of time-out.
I'm now wondering, if there's an easier way to get the underlying Geodatabase object for a feature layer.
thanks in advance,