ArcObjects Library Reference (NetworkAnalyst)  

INASolver.Bind Method

Re-associate the solver with the given network dataset and its schema.

[Visual Basic .NET]
Public Sub Bind ( _
    ByVal Context As INAContext, _
    ByVal network As IDENetworkDataset, _
    ByVal messages As IGPMessages _
)
[C#]
public void Bind (
    INAContext Context,
    IDENetworkDataset network,
    IGPMessages messages
);
[C++]
HRESULT Bind(
  INAContext* Context,
  IDENetworkDataset* network,
  IGPMessages* messages
);
[C++]

Parameters

Context [in]

  Context is a parameter of type INAContext

network [in]

  network is a parameter of type IDENetworkDataset

messages [in]

  messages is a parameter of type IGPMessages

Product Availability

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

Remarks

Calling Bind on the solver re-attaches the solver to the NAContext based on the current NetworkDataset settings.

See Also

INASolver Interface