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


INAServerRecordSet.RecordSet Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INAServerRecordSet.RecordSet Property

The recordset containing the records to load into the analysis.

[Visual Basic .NET]
Public Property RecordSet As IRecordSet
[C#]
public IRecordSet RecordSet {get; set;}
[C++]
HRESULT get_RecordSet(
  IRecordSet** ppValue
);
[C++]
HRESULT putref_RecordSet(
  IRecordSet* ppValue
);
[C++]

Parameters ppValue [out, retval]
ppValue is a parameter of type IRecordSet ppValue [in]
ppValue is a parameter of type IRecordSet

Product Availability

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

Remarks

The RecordSet property provides access to a RecordSet of network locations.

At a minimum, the RecordSet needs a shape field with a point geometry type.  You can also add additional fields that you wish to be used when loading the network locations.  For example, if you specify the network location fields "SourceID" (int), "SourceOID" (int), "PosAlong" (double), and "SideOfEdge" (int) the values in these fields will specify the network location rather than performing a spatial search to determine the network location.

Any other fields can be added to the RecordSet and may be used when loading network locations.  What fields map to NAClass fields is a function of INAServerSolverParams.NAClassCandidateFieldMaps .

See Also

INAServerRecordSet Interface