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


ISMRouterSetup2 Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesFile)  

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

Description
Read/write property BacktrackPolicy Controls the backtrack policy of the route solver.
Read/write property BacktrackPolicy Controls the backtrack policy of the route solver.
Method ClearAllRestrictions Removes all restrictions set on 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/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.
Method SetRestriction Sets a restriction to be used by the route solver.

CoClasses that implement ISMRouterSetup2

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

.NET Samples

StreetMap routing (Code Files: RestrictionsForm RoutingForm)