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,
  INAServerSolverResults** NASolverResults
);
[C++]

Parameters

NAServerSolverParams [in]

  NAServerSolverParams is a parameter of type INAServerSolverParams

NASolverResults [out, retval]

  NASolverResults is a parameter of type INAServerSolverResults

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