Summary
Disables replica tracking on data.
Replica tracking is automatically disabled when a versioned dataset is unregistered as versioned or a nonversioned dataset has archiving disabled.
Usage
The data must have replica tracking enabled.
The input dataset must be from an enterprise geodatabase and use one of the following registration types:
- Branch versioning
- Nonversioned archiving
This tool must be run as the data owner.
The Enable Replica Tracking tool sets the minimum client version for the data to a specific version depending on the registration type. This tool will revert the requirement set by enabling replica tracking so that you can again open the data in ArcGIS Desktop and earlier versions of ArcGIS Pro.
When working with utility network datasets, use ArcGIS Pro 2.7 or later to ensure replica tracking is disabled from the following utility network system tables:
- UN_<ID>_ASSOCIATIONS
- UN_<ID>_RULES
- UN_<ID>_SUBNETWORKS
Syntax
arcpy.management.DisableReplicaTracking(in_dataset)
Parameter | Explanation | Data Type |
in_dataset | The enterprise geodatabase table, feature class, feature dataset, attributed relationship class, or many-to-many relationship class on which to disable replica tracking. | Table; Feature Class; Feature Dataset |
Derived Output
Name | Explanation | Data Type |
updated_dataset | The updated input dataset with replica tracking disabled. | Table, Feature Class, Feature Dataset |
Code sample
Disables replica tracking on a feature class.
import arcpy
arcpy.DisableReplicaTracking_management("C:\\MyProject\\mySdeConn.sde\\database.user1.stores")
Environments
Licensing information
- Basic: No
- Standard: Yes
- Advanced: Yes