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


INASolverSettings.ImpedanceAttributeName Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INASolverSettings.ImpedanceAttributeName Property

The network attribute name to be used as the impedance attribute in analysis.

[Visual Basic .NET]
Public Property ImpedanceAttributeName As String
[C#]
public string ImpedanceAttributeName {get; set;}
[C++]
HRESULT get_ImpedanceAttributeName(
  BSTR AttributeName
);
[C++]
HRESULT put_ImpedanceAttributeName(
  System.String* AttributeName
);
[C++]

Parameters AttributeName [in]
AttributeName is a parameter of type BSTR AttributeName [out, retval]
AttributeName is a parameter of type BSTR*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

ImpedanceAttributeName specifies the attribute that the solver minimizes or otherwise uses to solve. For example the route solver may use drivetime as the impedance attribute to minimize in finding the shortest path.

See Also

INASolverSettings Interface

.NET Samples

ArcGIS Network Analyst extension Engine application (Code Files: frmNALayerProperties) | Location-allocation solver (Code Files: frmLocationAllocationSolver)

.NET Related Topics

How to setup, solve, and save a network analysis problem