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


ISMRouterSetup2.ClearAllRestrictions Method (ArcObjects .NET 10.4 SDK)
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)