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


IGPServer2.CancelJob Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPServer2.CancelJob Method

Cancels the specified job.

[Visual Basic .NET]
Public Sub CancelJob ( _
    ByVal JobID As String _
)
[C#]
public void CancelJob (
    string JobID
);
[C++]
HRESULT CancelJob(
  BSTR JobID
);
[C++]

Parameters JobID [in]
JobID is a parameter of type BSTR

Product Availability

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

See Also

IGPServer2 Interface