ArcGIS Pro 2.9 API Reference Guide
AddOutputDatasetsToOpenMap Property

ArcGIS.Desktop.Core Namespace > GeoprocessingOptions Class : AddOutputDatasetsToOpenMap Property
Gets whether output datasets created by geoprocessing tools should be automatically added to an open map.
Syntax
public bool AddOutputDatasetsToOpenMap {get;}
Public ReadOnly Property AddOutputDatasetsToOpenMap As Boolean
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, Windows 10, Windows 8.1

See Also

Reference

GeoprocessingOptions Class
GeoprocessingOptions Members