This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesFile > ESRI.ArcGIS.DataSourcesFile > Interfaces > IS > ISMRestriction Interface > ISMRestriction.Type Property (ArcObjects .NET 10.4 SDK) |
Restriction type.
[Visual Basic .NET] Public Property Type As esriSMRestrictionType
[C#] public esriSMRestrictionType Type {get; set;}
[C++]
HRESULT get_Type(
esriSMRestrictionType* pVal
);
[C++]
HRESULT put_Type(
esriSMRestrictionType pVal
);
[C++]
Parameters pVal [out, retval]
pVal is a parameter of type esriSMRestrictionType pVal [in]
pVal is a parameter of type esriSMRestrictionType
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.