ArcObjects Library Reference (NetworkAnalyst)  

INAServerSolverParams2 Interface

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 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 A container for the closest facility solver settings and return parameters used by NAServer.
NAServerLocationAllocationParams A container for the Location-Allocation solver settings and return parameters used by NAServer.
NAServerODCostMatrixParams A container for the Origin-Destination Cost Matrix solver settings and return parameters used by NAServer.
NAServerRouteParams A container for the route solver settings and return parameters used by NAServer.
NAServerServiceAreaParams A container for the service area solver settings and return parameters used by NAServer.
NAServerVRPParams A container for the Vehicle Routing Problem solver settings and return parameters used by NAServer.

Remarks

INAServerSolverParams2 provides methods to set input parameters on an NAServerSolverParams object (NAServerRouteParams, NAServerClosestFacilityParams, NAServerServiceAreaParams, NAServerLocationAllocationParams, NAServerODCostMatrixParams, 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 also methods to control reuse of analysis layers stored on the server, and methods which allow to specify whether partial results will be returned even if Solve fails.