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


IGPServerSync.Execute Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPServerSync Interface > IGPServerSync.Execute Method
ArcGIS Developer Help

IGPServerSync.Execute Method

Executes the specified tool with the supplied values and options and returns the results.

[Visual Basic .NET]
Public Function Execute ( _
    ByVal ToolName As String, _
    ByVal pValues As IGPValues, _
    ByVal pOptions As IGPResultOptions, _
    ByVal pEnvValues As IPropertySet _
) As IGPResult
[C#]
public IGPResult Execute (
    string ToolName,
    IGPValues pValues,
    IGPResultOptions pOptions,
    IPropertySet pEnvValues
);
[C++]
HRESULT Execute(
  BSTR ToolName,
  IGPValues* pValues,
  IGPResultOptions* pOptions,
  IPropertySet* pEnvValues
);
[C++]
Parameters
ToolName [in]

ToolName is a parameter of type BSTR pValues [in]
pValues is a parameter of type IGPValues* pOptions
pOptions is a parameter of type IGPResultOptions* pEnvValues
pEnvValues is a parameter of type IPropertySet*

Product Availability

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

See Also

IGPServerSync Interface