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


ISMRouterSetup2 Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesFile > ESRI.ArcGIS.DataSourcesFile > Interfaces > IS > ISMRouterSetup2 Interface
ArcGIS Developer Help

ISMRouterSetup2 Interface

Deprecated as of 10.1. Provides access to router restrictions settings.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

This interface is new at ArcGIS 9.3. It supersedes ISMRouterSetup2.

Members

Name Description
Read/write property BacktrackPolicy Controls the backtrack policy of the route solver.
Method ClearAllRestrictions Removes all restrictions set on the route solver.
Method ClearRestriction The method removes restriction at specified position from the list.
Read/write property DirectionsLengthUnits The output length units used in driving directions.
Read-only property Restriction Restriction at the position, specified by index.
Read-only property RestrictionCount Number of restrictions in the list, which will be applied when finding route.
Method SetRestriction Sets a restriction to be used by the route solver.

Classes that implement ISMRouterSetup2

Classes Description
SMRouter Deprecated as of 10.1. The object for calculating routes and defining route settings.

.NET Samples

StreetMap routing StreetMap routing