ArcObjects Library Reference (Server)  

IGPServerHelper.GetJobStatus Method

Returns the status of a job.

[Visual Basic .NET]
Public Function GetJobStatus ( _
    ByVal jobID As String, _
    ByVal serviceName As String, _
    ByVal serviceType As String _
) As esriJobStatus
[C#]
public esriJobStatus GetJobStatus (
    string jobID,
    string serviceName,
    string serviceType
);
[C++]
HRESULT GetJobStatus(
  BSTR jobID,
  BSTR serviceName,
  BSTR serviceType,
  esriJobStatus* pStatus
);
[C++]

Parameters

jobID [in]   jobID is a parameter of type BSTR serviceName [in]   serviceName is a parameter of type BSTR serviceType [in]   serviceType is a parameter of type BSTR pStatus [out, retval]

  pStatus is a parameter of type esriJobStatus

Product Availability

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

See Also

IGPServerHelper Interface