Performs a geoprocessing task operation on a synchronous geoprocessing services. The result of this task is a GPResults object passed to callback function.

Namespace:  ESRI.ArcGIS.VE
  (in ArcGISVE.exe)

Syntax

JScript
 function Execute(
	parameters : array<ParameterValue>[]()[], 
	callback : Function
)

Parameters

parameters
Type: array<ParameterValue>[]()[]
Input parameters for the task. This is an array of ParameterValues with the required inputs for the geoprocessing service.
callback
Type: Function
The JavaScript function that will handle the callback response. This function must take one argument, which will be the GPResults object.

See Also