ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
GetJobResult Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > GeoprocessingFunctionality Class : GetJobResult Method




taskName
Name of the task.
jobId
ID of the job obtained when started with SubmitJob.
parameterNames
Names of parameters used in the geoprocessing task.
returnMapResourceDefinitionsIfAvailable
Whether to include map resource definitions in the result if they are available.
Retrieves the result of the geoprocessing task from the server.

Syntax

Visual Basic (Declaration) 
Public Function GetJobResult( _
   ByVal taskName As String, _
   ByVal jobId As String, _
   ByVal parameterNames() As String, _
   ByVal returnMapResourceDefinitionsIfAvailable As Boolean _
) As ESRI.ArcGIS.ADF.Web.DataSources.GPResult
Visual Basic (Usage)Copy Code
Dim instance As GeoprocessingFunctionality
Dim taskName As String
Dim jobId As String
Dim parameterNames() As String
Dim returnMapResourceDefinitionsIfAvailable As Boolean
Dim value As ESRI.ArcGIS.ADF.Web.DataSources.GPResult
 
value = instance.GetJobResult(taskName, jobId, parameterNames, returnMapResourceDefinitionsIfAvailable)
C# 
public ESRI.ArcGIS.ADF.Web.DataSources.GPResult GetJobResult( 
   string taskName,
   string jobId,
   string[] parameterNames,
   bool returnMapResourceDefinitionsIfAvailable
)

Parameters

taskName
Name of the task.
jobId
ID of the job obtained when started with SubmitJob.
parameterNames
Names of parameters used in the geoprocessing task.
returnMapResourceDefinitionsIfAvailable
Whether to include map resource definitions in the result if they are available.

Return Value

GPResult object with results of the geoprocessing task.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.