Return the results of a geoprocessing job that has completed successfully.
GetJobResult(string JobID, string[] ParameterNames, GPResultOptions Options)
Parameter |
Description |
JobID |
The unique id of the geoprocessing job from which to retrieve job results.
|
ParameterNames |
A string array of output parameter names. Only result value for parameter names specified are returned. If null or empty, all result values are returned. Input parameter names will be ignored and thus should not be specified.
|
Options |
Defines how the result values are returned. If specified (not null), results are modified using these options before being returned to the client.
|
Return Value
A GPResult
object.
Remarks
The GetJobResult() method enables the caller to retrieve the results for jobs that have been successfully completed. The results are returned to the caller as a GPResult. The result contains the return values and the execution messages. The client can limit the values returned by sending the parameter names to return specific output values. If no parameter names are sent, all values are returned. Note, the maximum size of results can be limited by the service. Result options can be included in GetJobResult, but you will get better performance if you include result options in SubmitJob and send a null value for result options in GetJobResult.
Examples