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
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.