This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPServer2 Interface > IGPServer2.SubmitJob Method (ArcObjects .NET 10.4 SDK) |
Submits the specified tool with the supplied values and options and returns the job id.
[Visual Basic .NET] Public Function SubmitJob ( _ ByVal ToolName As String, _ ByVal Values As IGPValues, _ ByVal options As IGPResultOptions, _ ByVal envValues As IPropertySet _ ) As String
[C#] public string SubmitJob ( string ToolName, IGPValues Values, IGPResultOptions options, IPropertySet envValues );
[C++]
HRESULT SubmitJob(
BSTR ToolName,
IGPValues* Values,
IGPResultOptions* options,
IPropertySet* envValues,
BSTR* JobID
);
[C++]
Parameters ToolName [in] ToolName is a parameter of type BSTR Values [in]
Values is a parameter of type IGPValues options [in]
options is a parameter of type IGPResultOptions envValues [in]
envValues is a parameter of type IPropertySet JobID [out, retval] JobID is a parameter of type BSTR