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


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

ISMRestriction.Type Property

Restriction type.

[Visual Basic .NET]
Public Property Type As esriSMRestrictionType
[C#]
public esriSMRestrictionType Type {get; set;}
[C++]
HRESULT get_Type(
void
);
[C++]
HRESULT put_Type(
);

Product Availability

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

Remarks

The restriction type can be Strict or Relaxed. Strict restrictions can never be violated by the solver, while Relaxed restrictions can be violated if there is no other way to calculate a route.

See Also

ISMRestriction Interface

.NET Samples

StreetMap routing