ArcObjects Library Reference (DataSourcesFile)  

ISMRouterSetup2.ClearAllRestrictions Method

Removes all restrictions set on the route solver.

[Visual Basic .NET]
Public Sub ClearAllRestrictions ( _
)
[C#]
public void ClearAllRestrictions (
);
[C++]
HRESULT ClearAllRestrictions(
void
);

Product Availability

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

See Also

ISMRouterSetup2 Interface

.NET Samples

StreetMap routing (Code Files: RestrictionsForm)