ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Core Namespace / GeoprocessingOptions Class / OverwriteExistingDatasets Property

In This Topic
    OverwriteExistingDatasets Property
    In This Topic
    Gets whether geoprocessing tools can overwrite existing data, layers, or files when run.
    Syntax
    Public ReadOnly Property OverwriteExistingDatasets As Boolean
    public bool OverwriteExistingDatasets {get;}
    Remarks
    Note: see ArcGIS.Desktop.Core.Geoprocessing.GPExecuteToolFlags for available options for modifying behavior of ArcGIS.Desktop.Core.Geoprocessing.Geoprocessing.ExecuteToolAsync. Changing these parameters modifies behavior of interactive GP tools
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also