Skip To Content

Update Geodatabase Connection Properties To Branch


Updates an enterprise geodatabase connection to work with branch versioning.

Learn more about branch versioning


  • To register a dataset as branch versioned, use this tool to update your existing database connection property, and then register the dataset as versioned. This is required when working with a utility network.

  • The input connection file will remain updated to work with branch versioning unless the connection file is opened and modified. For example, if the connected user or password is altered, re-run the tool to update the connection file.

  • The enterprise geodatabases that are supported by this tool are limited to the enterprise geodatabases that are supported by the utility network.

  • Alternatively, you can use the Create Database Connection tool to create a new connection to a geodatabase and specify the branch version type.


ParameterExplanationData Type

The input enterprise geodatabase connection to update.


Derived Output

NameExplanationData Type

The updated enterprise geodatabase connection.


Code sample

UpdateGeodatabaseConnectionPropertiesToBranch example (Python window)

Update an enterprise geodatabase connection named UNOwnerConnection.sde.

import arcpy


This tool does not use any geoprocessing environments.

Licensing information

  • Basic: No
  • Standard: Yes
  • Advanced: Yes

Related topics