This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPServer2 Interface > IGPServer2.CancelJob Method (ArcObjects .NET 10.5 SDK) |
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