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


INAServerSolverResults2.SolveErrorCode Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAServerSolverResults2.SolveErrorCode Property

Error code returned by solve operation if it failed.

[Visual Basic .NET]
Public ReadOnly Property SolveErrorCode As Integer
[C#]
public int SolveErrorCode {get;}
[C++]
HRESULT get_SolveErrorCode(
  long* ErrorCode
);
[C++]

Parameters ErrorCode [out, retval] ErrorCode is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

SolveErrorCode contains returned error code, if NAServerSolverParams.ReturnPartialResultsOnError was True and Solve failed.

See Also

INAServerSolverResults2 Interface