When inspecting the connectionProperties of a Layer object in ArcGIS Pro (2.9), the value of the 'server' property of 'connection_info' is inconsistent depending if the database connection was created in ArcMap or ArcGIS Pro. For example, with Oracle, the 'server' property is 'sde' on a layer added from a database connection created in ArcMap but it's the proper name when the layer uses a database connection created from ArcGIS Pro. The same is true for adding a layer to the map or importing a map from an mxd.
Could the 'server' property be derived more correctly when inspecting the connectionProperties of a Layer added (or imported) from an ArcMap database connection?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.