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


INAServerSolverParams2 Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAServerSolverParams2 Interface

Deprecated as of 10.0. Provides access to properties that specify the solver settings and return parameters used during network analysis with NAServer.

Product Availability

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

Members

Description
Read/write property ImageDescription ImageDescription used when generating the MapImage returned with the analysis results.
Read/write property LayerToken Token identifying the network analysis layer on the server to use.
Read/write property MapDescription MapDescription used when generating the MapImage returned with the analysis results.
Read/write property MaxSnapTolerance Maximum search tolerance used when attempting to load network locations.
Read/write property NAClassCandidateFieldMaps Array of NAClassCandidateFieldMaps .
Read/write property NALayerName Network analysis layer name.
Read/write property OutputSpatialReference Spatial reference of the geometries returned with the analysis results.
Read/write property ReturnMap Indicates if a MapImage should be generated and returned with the analysis results.
Read/write property ReturnPartialResultsOnError Indicates if the result object should be returned even if an error was generated during the solve operation.
Read/write property SaveLayerOnServer Indicates if the resulting analysis layer should be saved on the server.
Read/write property SnapTolerance Minimum search tolerance used when attempting to load network locations.
Read/write property SnapToleranceUnits Length units of the SnapTolerance and MaxSnapTolerance.

Inherited Interfaces

Interfaces Description
INAServerSolverParams Deprecated as of 10.0. Provides access to properties that specify the solver settings and return parameters used during network analysis with NAServer.

CoClasses that implement INAServerSolverParams2

CoClasses and Classes Description
NAServerClosestFacilityParams Deprecated as of 10.0. A container for the closest facility solver settings and return parameters used by NAServer.
NAServerLocationAllocationParams Deprecated as of 10.0. A container for the Location-Allocation solver settings and return parameters used by NAServer.
NAServerODCostMatrixParams Deprecated as of 10.0. A container for the Origin-Destination Cost Matrix solver settings and return parameters used by NAServer.
NAServerRouteParams Deprecated as of 10.0. A container for the route solver settings and return parameters used by NAServer.
NAServerServiceAreaParams Deprecated as of 10.0. A container for the service area solver settings and return parameters used by NAServer.
NAServerVRPParams Deprecated as of 10.0. A container for the Vehicle Routing Problem solver settings and return parameters used by NAServer.

Remarks

At version 10.1, ArcGIS for Server no longer supports performing network analysis via local connections using the GISServer and GISClient APIs. Use the SOAP or REST API instead.

INAServerSolverParams2 provides methods to set input parameters on an NAServerSolverParams object (NAServerRouteParams, NAServerClosestFacilityParams, NAServerServiceAreaParams, NAServerLocationAllocationParams, NAServerODCostMatrixParams, and NAServerVRPParams) that is then used by the Solve method on INAServer.

There are methods to set the snapping environment for loading network locations. There are also methods to specify if a map is returned by the solve and how that map should be generated.

There are methods to control reuse of analysis layers stored on the server, and methods that allow you to specify whether partial results will be returned even if Solve fails.