com.esri.arcgis.geoprocessing
Interface IGeoProcessorSettings2

All Superinterfaces:
IGeoProcessorSettings, Serializable
All Known Implementing Classes:
IGeoProcessorSettings2Proxy

public interface IGeoProcessorSettings2
extends IGeoProcessorSettings, Serializable

Provides access to the properties/methods of the GeoProcessor settings.

Description

This interface is new at ArcGIS 9.3. It supersedes IGeoProcessorSettings.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 int getHowLongToKeepResults()
          This property determine how long to hold on results.
 void setHowLongToKeepResults(int timeInterval)
          This property determine how long to hold on results.
 
Methods inherited from interface com.esri.arcgis.geoprocessing.IGeoProcessorSettings
isAddOutputsToMap, isLogHistory, isOverwriteOutput, isShowModelBuilderPrompts, isTemporaryMapLayers, setAddOutputsToMap, setLogHistory, setOverwriteOutput, setShowModelBuilderPrompts, setTemporaryMapLayers
 

Method Detail

setHowLongToKeepResults

void setHowLongToKeepResults(int timeInterval)
                             throws IOException,
                                    AutomationException
This property determine how long to hold on results.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
timeInterval - A com.esri.arcgis.geoprocessing.esriGPTimeIntervalType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHowLongToKeepResults

int getHowLongToKeepResults()
                            throws IOException,
                                   AutomationException
This property determine how long to hold on results.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A com.esri.arcgis.geoprocessing.esriGPTimeIntervalType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.