ArcObjects Library Reference (NetworkAnalyst)  

INARouteSolver2 Interface

Provides access to the route solver.

Product Availability

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

Members

Description
Read/write property CreateTraversalResult Indicates if a traversal result will be generated.
Read/write property FindBestSequence Indicates if the solver should resequence the route in the optimal order.
Read/write property OutputLines Indicates if lines will be generated in the result.
Read/write property PreserveFirstStop Indicates if the solver should keep the first stop fixed in the sequence.
Read/write property PreserveLastStop Indicates if the solver should keep the last stop fixed in the sequence.
Read/write property StartTime Specifies the time the route begins.
Read/write property UseStartTime Indicates if the solver should start the route at a particular time.
Read/write property UseTimeWindows Indicates if the solver should consider time windows.

Inherited Interfaces

Interfaces Description
INARouteSolver Provides access to the route solver.

CoClasses that implement INARouteSolver2

CoClasses and Classes Description
NARouteSolver Performs shortest path and tour analysis.
NAServerRouteParams Deprecated as of 10.0. A container for the route solver settings and return parameters used by NAServer.

Remarks

The INARouteSolver2 interface is used by the NARouteSolver and NAServerRouteParams objects to access the properties of the route solver.

.NET Snippets

Statements - Set Route Properties | Set Route Properties

.NET Samples

ArcGIS Network Analyst extension Engine application (Code Files: frmNALayerProperties)