ArcObjects Library Reference (Geoprocessing)  

IGeoProcessorResult2 Interface

The Geoprocessor Result. Provides access to the results of tools.

Product Availability

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

Description

This interface is new at ArcGIS 10. It supersedes IGeoProcessorResult.

Members

Description
Method Cancel Cancel the job.
Method GetInput Return the input by index.
Method GetMapImageURL Delete the job and all associated data.
Method GetMessage Return the message description by index.
Method GetMessages Return all of the message descriptions.
Method GetOutput Return the output by index.
Method GetResultMessages Return the GPMessages object which will be messages.
Method GetReturnCode Return the message error code (Error Messages Only) by index.
Method GetSeverity Return the message severity by index.
Read-only property InputCount Return the number of inputs.
Read-only property IsAsync Get the GeoProcessor ASync status.
Read-only property IsCanceled Get the GeoProcessor return value.
Read-only property MaxSeverity Return the maximum severity of the message.
Read-only property MessageCount Return the number of messages.
Read-only property OutputCount Return the number of outputs.
Read/write property Process Set the GeoProcessor process value.
Read/write property ResultID Get the job ID.
Read-only property ReturnValue Get the GeoProcessor return value.
Read/write property Status Get the job status.

CoClasses that implement IGeoProcessorResult2

CoClasses and Classes Description
GeoProcessorResult GeoProcessorResult Access.

.NET Samples

Executing geoprocessing tools in the background (Code Files: RunGPForm)

.NET Related Topics

How to get returned messages | Running a geoprocessing tool using background geoprocessing | Tool return values | Using ArcObjects as tool input | Working with ArcSDE data | Working with result objects