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