Skip To Content

Update Geodatabase Connection Properties To Branch

Summary

Updates an enterprise geodatabase connection to work with branch versioning.

Learn more about branch versioning

Usage

  • 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.

Syntax

UpdateGeodatabaseConnectionPropertiesToBranch_management (input_database)
ParameterExplanationData Type
input_database

The input enterprise geodatabase connection to update.

Workspace

Code sample

UpdateGeodatabaseConnectionPropertiesToBranch example (Python window)

Update an enterprise geodatabase connection named UNOwnerConnection.sde.

import arcpy
arcpy.UpdateGeodatabaseConnectionPropertiesToBranch_management("C:\\Projects\\MyUNProject\\UNOwnerConnection.sde")

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • ArcGIS Desktop Basic: No
  • ArcGIS Desktop Standard: Yes
  • ArcGIS Desktop Advanced: Yes

Related topics