I'm using geoprocessing to create a new feature class, but it's automatically being added to the active map when the tool executes, which I don't want. How can I stop this? I can't see any GP environment variable to control this.
One of Geoprocessing.ExecuteToolAsync overloads has a parameter called GPExecuteToolFlags set it GPExecuteToolFlags.None
Ah - not sure how I missed that! Thanks Adam
Just because I know the answer now doesn't mean I didn't miss that for a long time as well :-)
Retrieving data ...