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


IGeoProcessor2.GetReturnCode Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGeoProcessor2.GetReturnCode Method

Return the message error code (Error Messages Only) by index of the last tool executed.

[Visual Basic .NET]
Public Function GetReturnCode ( _
    ByVal Index As Integer _
) As Integer
[C#]
public int GetReturnCode (
    int Index
);
[C++]
HRESULT GetReturnCode(
  long Index,
  long* pCode
);
[C++]

Parameters Index [in] Index is a parameter of type long pCode [out, retval] pCode is a parameter of type long

Product Availability

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

See Also

IGeoProcessor2 Interface