Disable Last Edit Time (Data Management)

Summary

Disables the last edit time property on an enterprise geodatabase dataset.

Disabling the last edit time property on a dataset will stop the recording of timestamps of when the data was last edited.

Usage

  • Enabling the last edit time functionality on an enterprise geodatabase dataset may stop the dataset from being opened in older clients. Run this tool to disable the last edit time property to open the dataset in these clients.

  • The input dataset must have the last edit time enabled and be nonversioned.

  • This tool must be run as the data owner.

Parameters

LabelExplanationData Type
Input Dataset

The enterprise geodatabase table, feature class, feature dataset, attributed relationship class, or many-to-many relationship class that will have the last edit time property disabled.

Table View; Feature Dataset

Derived Output

LabelExplanationData Type
Updated Dataset

The updated input dataset with the last edit time disabled.

Table View; Feature Dataset

arcpy.management.DisableLastEditTime(in_dataset)
NameExplanationData Type
in_dataset

The enterprise geodatabase table, feature class, feature dataset, attributed relationship class, or many-to-many relationship class that will have the last edit time property disabled.

Table View; Feature Dataset

Derived Output

NameExplanationData Type
out_dataset

The updated input dataset with the last edit time disabled.

Table View; Feature Dataset

Code sample

DisableLastEditTime example (Python window)

Use the DisableLastEditTime function to disable the last edit time property on a feature class stored in an enterprise geodatabase.

import arcpy
arcpy.management.DisableLastEditTime("C:\\MyProject\\myConn.sde\\myFC")

Environments

This tool does not use any geoprocessing environments.

Licensing information

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

Related topics