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


INAServer.GetSolverParameters Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAServer.GetSolverParameters Method

Default solver parameters for the specified network analysis layer.

[Visual Basic .NET]
Public Function GetSolverParameters ( _
    ByVal NALayerName As String _
) As INAServerSolverParams
[C#]
public INAServerSolverParams GetSolverParameters (
    string NALayerName
);
[C++]
HRESULT GetSolverParameters(
  BSTR NALayerName
);
[C++]

Parameters NALayerName [in]
NALayerName is a parameter of type BSTR

Product Availability

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

Remarks

GetSolverParameters returns the  NAServerSolverParams object (NAServerRouteParams, NAServerClosestFacilityParams, NAServerServiceAreaParams, NAServerLocationAllocationParams, NAServerODCostMatrixParams, NAServerVRPParams) corresponding to the NALayer name passed in.  The parameter object returned will have defaults based on the NALayer it is referencing. 

You can pass this resulting object into the Solve method on NAServer to perform network analysis.

 

See Also

INAServer Interface