This document is archived and information here might be outdated.  Recommended version.


IGPServer2 Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPServer2 Interface

Provides access to the properties/methods of the geoprocessing server.

Product Availability

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

Description

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

Members

Description
Method CancelJob Cancels the specified job.
Method Execute Executes the specified tool with the supplied values and options and returns the results.
Method GetExecutionType Indicates if the geoprocessing server is synchronous or asynchronous.
Method GetJobEnvironmentValues Returns the enviornment values for the job.
Method GetJobInputValues Returns the input values for the job.
Method GetJobMessages Returns the messages of the specified job.
Method GetJobResult Returns the results of the specified job.
Method GetJobResultMapExtent Returns the extent for the job.
Method GetJobResultOptions Returns the result options for the job.
Method GetJobStatus Returns the status of the specified job.
Method GetJobToolName Returns the tool name for the job.
Method GetResultMapServerName Indicates if there is an associated map server to draw the results and the name of the map server.
Method GetResultWorkspace Returns a zip file of the results workspace.
Method GetTaskInfos Returns the tool information of the available tasks.
Method GetTaskNames Returns the names of the available tasks.
Method GetToolInfo Returns the tool information of the specified tool name.
Method GetToolInfos Returns the tool information of the available tools.
Method GetToolNames Returns the names of the available tools.
Method SubmitJob Submits the specified tool with the supplied values and options and returns the job id.

CoClasses that implement IGPServer2

CoClasses and Classes Description
GPServer GP Server Class.
GPServerIP GP Server Message Proxy.
GPServerLP GP Server LAN Proxy.