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


INAServer.Solve Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAServer.Solve Method

Perform network analysis based on the input solve parameters.

[Visual Basic .NET]
Public Function Solve ( _
    ByVal NAServerSolverParams As INAServerSolverParams _
) As INAServerSolverResults
[C#]
public INAServerSolverResults Solve (
    INAServerSolverParams NAServerSolverParams
);
[C++]
HRESULT Solve(
  INAServerSolverParams* NAServerSolverParams
);
[C++]

Parameters NAServerSolverParams [in]
NAServerSolverParams is a parameter of type INAServerSolverParams*

Product Availability

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

Remarks

Solve performs network analysis based on the NAServerSolverParams object (NAServerRouteParams, NAServerClosestFacilityParams, NAServerServiceAreaParams) that was passed in and returns it's output through an NAServerSolverResults object (NAServerRouteResults, NAServerClosestFacilityResults, NAServerServiceAreaParams).

See Also

INAServer Interface