Updates an enterprise geodatabase connection to work with 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.
The input enterprise geodatabase connection to update.
Update an enterprise geodatabase connection named UNOwnerConnection.sde.
import arcpy arcpy.UpdateGeodatabaseConnectionPropertiesToBranch_management("C:\\Projects\\MyUNProject\\UNOwnerConnection.sde")
- ArcGIS Desktop Basic: No
- ArcGIS Desktop Standard: Yes
- ArcGIS Desktop Advanced: Yes