This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAServer Interface > INAServer.GetSolverParameters Method (ArcObjects .NET 10.5 SDK) |
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,
INAServerSolverParams** NAServerSolverParams
);
[C++]
Parameters NALayerName [in] NALayerName is a parameter of type BSTR NAServerSolverParams [out, retval]
NAServerSolverParams is a parameter of type INAServerSolverParams
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.